-
Notifications
You must be signed in to change notification settings - Fork 385
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
MSC4120: Allow HEAD
on /download
#4120
base: main
Are you sure you want to change the base?
Conversation
HEAD
on /download
HEAD
on /download
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Implementation requirements:
- Server supports
HEAD
method on/download
- SupportHEAD
on/download
, per MSC4120 t2bot/matrix-media-repo#578 - Server or client uses
HEAD
method to make decisions
|
||
## Proposal | ||
|
||
`HEAD` becomes a legal request method on the following endpoints: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you add some words on whether we expect HEAD
to be unauthenticated, authenticated, or match their GET
counterparts?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is implied through the HTTP spec, I believe. HEAD
matches GET
, and would be authenticated when GET
is also authenticated.
* Support `HEAD` on `/download`, per MSC4120 matrix-org/matrix-spec-proposals#4120 * Changelog
Rendered
In line with matrix-org/matrix-spec#1700, the following disclosure applies:
I am Director of Standards Development at The Matrix.org Foundation C.I.C., Matrix Spec Core Team (SCT) member, employed by Element, and operate the t2bot.io service. This proposal is written and published under my Element hat as a member of the Trust & Safety team, allocated to the Foundation.