AliSoftware / AliSoftware/OHHTTPStubs
Mocktail and Content-Type
Ouverte
- Langage dominant
- Objective-C
- Étoiles
- 5.1k
- Forks
- 597
- Métriques de merge des PR
- Aucune PR mergée en 30 j
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`?
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Évaluation
Cette issue n'a pas encore été évaluée.