AliSoftware / AliSoftware/OHHTTPStubs
Mocktail and Content-Type
Open
- Dominant language
- Objective-C
- Stars
- 5.1k
- Forks
- 597
- PR merge metrics
- No merged PRs in 30d
Description
Here is file produced by `SWHttpTrafficRecorder`:
GET
//getFile.php\?filename=.*$
200
application/zip;base64
Content-Type: application/zip
As you see we have Content-Type = application/zip from request's header and also content type generated by recorder. With current `OHHTTPStubs` implementation first value ` application/zip;base64` will be overwritten by `application/zip` and base64 decoding will not happen. This leads to bug.
Could you tell me who is wrong is this situation, `OHHTTPStubs` or `SWHttpTrafficRecorder`?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.