AliSoftware / AliSoftware/OHHTTPStubs

Mocktail and Content-Type

Abierto
#288 4 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Objective-C
Estrellas
5.1k
Forks
597
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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`?

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.