Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

content type is wrong #129

Open
antonkulaga opened this issue Dec 28, 2018 · 1 comment
Open

content type is wrong #129

antonkulaga opened this issue Dec 28, 2018 · 1 comment
Labels
bug Something isn't working

Comments

@antonkulaga
Copy link
Contributor

When I try to get a result that generates plain text (like https://www.ncbi.nlm.nih.gov/geo/query/acc.cgi?acc=GSM1698570&targ=self&form=text&view=full ) I get json/application content type instead and all "\n" symbols are deleted from there

@antonkulaga
Copy link
Contributor Author

I've checked same link with another library ( https://github.com/lihaoyi/requests-scala )

requests.get("https://www.ncbi.nlm.nih.gov/geo/query/acc.cgi?acc=GSM1698570&targ=self&form=text&view=full").text()

and there everything works fine (no "\n" symbolds are deleted from the entity). Looks like a Hammock bug

@pepegar pepegar added the bug Something isn't working label Jan 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants