AliSoftware / AliSoftware/OHHTTPStubs
Mocktail and Content-Type
- Lingua principale
- Objective-C
- Stelle
- 5.1k
- Fork
- 597
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
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`?
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Valutazione
Questa issue non è ancora stata valutata.