MSC4120: Allow HEAD on /download - #4120
Open
turt2live wants to merge 3 commits into
Open
Conversation
HEAD on /downloadHEAD on /download
turt2live
marked this pull request as ready for review
March 21, 2024 17:11
turt2live
commented
Mar 21, 2024
Member
Author
There was a problem hiding this comment.
Implementation requirements:
- Server supports
HEADmethod on/download- SupportHEADon/download, per MSC4120 t2bot/matrix-media-repo#578 - Server or client uses
HEADmethod to make decisions
KitsuneRal
reviewed
Mar 21, 2024
|
|
||
| ## Proposal | ||
|
|
||
| `HEAD` becomes a legal request method on the following endpoints: |
Member
There was a problem hiding this comment.
Can you add some words on whether we expect HEAD to be unauthenticated, authenticated, or match their GET counterparts?
Member
Author
There was a problem hiding this comment.
This is implied through the HTTP spec, I believe. HEAD matches GET, and would be authenticated when GET is also authenticated.
turt2live
added a commit
to t2bot/matrix-media-repo
that referenced
this pull request
Mar 28, 2024
turt2live
added a commit
to t2bot/matrix-media-repo
that referenced
this pull request
Mar 28, 2024
* Support `HEAD` on `/download`, per MSC4120 matrix-org/matrix-spec-proposals#4120 * Changelog
4 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.