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

Assumed properties of new methods #692

Closed
martinthomson opened this issue Jan 28, 2021 · 1 comment · Fixed by #773
Closed

Assumed properties of new methods #692

martinthomson opened this issue Jan 28, 2021 · 1 comment · Fixed by #773

Comments

@martinthomson
Copy link
Contributor

In general, an unknown or new method can be handled by a resource by rejecting the request (with 406 for instance). However, some entities (intermediaries in particular) might be forced to engage with methods that are unknown to them.

I couldn't find text in Section 7.6 or Section 16.1 on this. However, the draft might benefit from advice on this. There are a few things that might be said, with reference to Section 9, which already says much of this:

  • Intermediaries are expected to forward new methods. This enables the deployment of new methods.

  • New methods might be safe, idempotent, or cacheable. Or they might not be. Actions taken need to consider this possibility and act accordingly. For instance, an intermediary that might be able to automatically retry a request cannot do so for an unknown method, which it does not know whether it is idempotent (9.2) or a cache can't cache a response unless the method is known to be cacheable (9.3).

@mnot
Copy link
Member

mnot commented Feb 16, 2021

PTAL. I don't think your second bullet is actionable; that's already clear in 16.1, and intermediaries aren't required to do any of those things.

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

Successfully merging a pull request may close this issue.

2 participants