AliSoftware / AliSoftware/OHHTTPStubs
Mocktail and Content-Type
未关闭
- 主要语言
- Objective-C
- 星标
- 5.1k
- 派生
- 597
- PR 合并指标
- 30 天内没有已合并 PR
描述
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`?
贡献指南
这个仓库没有索引到贡献指南
评估
这个 Issue 还没有评估数据。