3lvis / Networking

Swift HTTP Networking with stubbing and caching support
MIT License
1.36k stars 112 forks source link

Add support fake header fields #272

Closed 3lvis closed 1 year ago

3lvis commented 1 year ago

Adds support for faking headerFields.

let networking = Networking(baseURL: baseURL)
networking.fakePUT("/story", response: nil, headerFields: ["uid": "12345678"])