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

Provide a function to read an HTTP response regardless of its Content-Type #77

Closed
brettcannon opened this issue Nov 13, 2022 · 0 comments · Fixed by #89
Closed

Provide a function to read an HTTP response regardless of its Content-Type #77

brettcannon opened this issue Nov 13, 2022 · 0 comments · Fixed by #89

Comments

@brettcannon
Copy link
Owner

The idea is to let someone use #75 to make an HTTP request to a URL and then blindly pass the text body and Content-Type line to get back the appropriate JSON. That way whether something returns HTML or JSON does not matter to the end user.

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

Successfully merging a pull request may close this issue.

1 participant