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

Honor 'Accept' header #22

Open
matthewlenz opened this issue Jan 30, 2025 · 0 comments
Open

Honor 'Accept' header #22

matthewlenz opened this issue Jan 30, 2025 · 0 comments

Comments

@matthewlenz
Copy link

Very specifically it would be nice if it at a mininum handled text/html, text/plain and application/json.

For the json response it could be as simple as just returning { "msg": :"request caught" }

If you wanted to support an xml response it could be similarly simple.

I ran into this issue testing some code that was throwing an exception because it specifically wants a certain response payload type.

Maybe this is already possible by some other url parameter and I didn't realize it.

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

No branches or pull requests

1 participant