You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.
"The metainformation contained in the HTTP headers in response to a HEAD request SHOULD be identical to the information sent in response to a GET request."
Steps to reproduce
make a plain text file, e.g. "echo hello > hello.txt".
using Riot-web 1.3.3, in room #test:matrix.org, send that file using the "Upload file" paperclip button.
copy the URL from the displayed "Download hello.txt" link.
compare the results of "curl --head " and "curl -i "
Description
Synapse returns different headers for HTTP HEAD and GET requests, for media/r0/download endpoints.
According to HTTP/1.1 spec https://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html section 9.4 HEAD:
"The metainformation contained in the HTTP headers in response to a HEAD request SHOULD be identical to the information sent in response to a GET request."
Steps to reproduce
versus
Version information
The text was updated successfully, but these errors were encountered: