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" headers #22

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

Honor "Accept" headers #22

jwodder opened this issue Jan 29, 2024 · 0 comments
Labels
correctness Getting it right enhancement New feature or request therefor HTTP protocol Specific to the HTTP protocol low priority Less important than other things under consideration Dev has not yet decided whether or how to implement

Comments

@jwodder
Copy link
Member

jwodder commented Jan 29, 2024

  • For PROPFIND requests:

    • If the request's "Accept" header accepts application/xml or text/xml but not both, ensure that the Content-Type of the response matches.
    • If the request's "Accept" header accepts neither, respond with a 406 error.
  • For GET requests to collections: If the request's "Accept" header does not accept text/html, respond with a 406 error.

  • For GET requests to non-collections: ???

@jwodder jwodder added correctness Getting it right enhancement New feature or request therefor HTTP protocol Specific to the HTTP protocol low priority Less important than other things under consideration Dev has not yet decided whether or how to implement 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 HTTP protocol Specific to the HTTP protocol low priority Less important than other things under consideration Dev has not yet decided whether or how to implement
Projects
None yet
Development

No branches or pull requests

1 participant