Skip to content
This repository has been archived by the owner on Jul 27, 2019. It is now read-only.

Content-Type duplicate in Mocktail #19

Open
ivan-ushakov opened this issue Aug 7, 2018 · 4 comments
Open

Content-Type duplicate in Mocktail #19

ivan-ushakov opened this issue Aug 7, 2018 · 4 comments

Comments

@ivan-ushakov
Copy link

I found that current version creates content type line and also copy content type parameter from request.

GET
//getFile.php\?filename=.*$
200
application/zip;base64
Content-Type: application/zip

This produce problem in OHHTTPStubs because second Content-Type parameter overrides first one and ;base64 suffix does not work. I think you should remove second Content-Type parameter.

@JinlianWang
Copy link
Contributor

@ivan-ushakov sorry that I may not be able to handle any issue for this repo in the near future, in the process of archiving/retiring the project. Please find other tools that may work for similar purpose or feel free to find a solution and share with community if possible.

@ivan-ushakov
Copy link
Author

@JinlianWang So you are going to close this project?

@ivan-ushakov
Copy link
Author

@JinlianWang In this section File format I see that there is no special line for content type. So starting from line 4 there must be only content headers.

@JinlianWang
Copy link
Contributor

@ivan-ushakov can you find a fix and make a pull request?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants