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

Change BODY_FORMATS to accommodate more possible content types #132

Open
sckott opened this issue Oct 10, 2024 · 0 comments
Open

Change BODY_FORMATS to accommodate more possible content types #132

sckott opened this issue Oct 10, 2024 · 0 comments
Milestone

Comments

@sckott
Copy link
Collaborator

sckott commented Oct 10, 2024

right now BODY_FORMATS is just a lookup in a named list. This doesn't allow for flexibly detecting json or xml, etc. in a content type string. so change to a function call probably where could do the current lookup first, and if no match, then regex for json, xml, html, etc.

@sckott sckott added this to the v1.2 milestone Oct 14, 2024
@sckott sckott modified the milestones: v1.2, v1.4 Nov 15, 2024
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