AliSoftware / AliSoftware/OHHTTPStubs

Mocktail and Content-Type

Aberta
#288 4 comentários 0 reações 0 responsáveis Ver no GitHub
Linguagem predominante
Objective-C
Estrelas
5.1k
Forks
597
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

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

Guia de contribuição

Nenhum guia de contribuição indexado para este repositório

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.