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 還沒有評估資料。