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

treat xml and json mime types as text #351

Merged
merged 3 commits into from
Aug 3, 2021
Merged

treat xml and json mime types as text #351

merged 3 commits into from
Aug 3, 2021

Conversation

yetzt
Copy link
Contributor

@yetzt yetzt commented Feb 18, 2021

mime types such as image/svg+xml or application/ld+json should be returned as strings.

mime types such as `image/svg+xml` or `application/ld+json` should be returned as strings.
@tomas
Copy link
Owner

tomas commented Feb 18, 2021

Could you a add small test?

And it looks like this could be a method, to make things cleaner/clearer.

@yetzt
Copy link
Contributor Author

yetzt commented Feb 22, 2021

I'll try to find the time

@yetzt
Copy link
Contributor Author

yetzt commented Feb 22, 2021

found the time, here you go

@yetzt
Copy link
Contributor Author

yetzt commented Mar 30, 2021

anything happening with this pull request?

lib/needle.js Outdated Show resolved Hide resolved
@tomas tomas merged commit 2bbcf44 into tomas:master Aug 3, 2021
@yetzt yetzt deleted the patch-1 branch August 4, 2021 08:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants