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 "Content-Type" headers in PROPFIND requests #23

Open
jwodder opened this issue Jan 29, 2024 · 0 comments
Open

Honor "Content-Type" headers in PROPFIND requests #23

jwodder opened this issue Jan 29, 2024 · 0 comments
Labels
correctness Getting it right enhancement New feature or request therefor WebDAV Specific to the WebDAV protocol/implementation

Comments

@jwodder
Copy link
Member

jwodder commented Jan 29, 2024

  • If a PROPFIND request lacks a Content-Type, treat it as text/xml

  • If a PROPFIND request has a Content-Type of either text/xml or application/xml, use the charset parameter (if any) when decoding the request body (cf. [1])

  • If a PROPFIND request has any other Content-Type, reject the request

@jwodder jwodder added correctness Getting it right enhancement New feature or request therefor WebDAV Specific to the WebDAV protocol/implementation labels Jan 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
correctness Getting it right enhancement New feature or request therefor WebDAV Specific to the WebDAV protocol/implementation
Projects
None yet
Development

No branches or pull requests

1 participant