-
-
Notifications
You must be signed in to change notification settings - Fork 33
-
-
Notifications
You must be signed in to change notification settings - Fork 33
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
Support HEAD requests #474
Comments
Hello @lf- , Sorry for being late on this. I see the issue and I'm afraid that this isn't supported (yet). Oxyno-zeta |
Hi, is any ETA of implementation this feature? |
Hi, I'm sorry but I don't have any ETA for this. For me, there are 2 possible solutions:
After that, there is another question: Can we use the same configuration as the GET one for header templates, etc or do we need to create a new and different section ? I've started something "on my computer" but I'm not a big fan of it and I don't have a lot of time those days sorry. Oxyno-zeta |
fwiw we worked around it by just using the garage http server for the affected domain so it's not a hurry for us at all. it's most likely most correct to treat it as a special GET that returns no data both in terms of config and in terms of code. though, stuff like directory listings may possibly want to refuse HEAD requests because that sounds like a big pain. i wonder what forgejo and other web apps do for HEAD on their templated pages. |
Is your feature request related to a problem? Please describe.
s3-proxy returns 405 errors for HEAD requests. This breaks various clients which want to determine the content type of a file or how large it is or similar information.
I have inspected the config documentation here: https://oxyno-zeta.github.io/s3-proxy/configuration/structure/#actionsconfiguration and I do not think there is a way to enable it.
Describe the solution you'd like
Support HEAD requests per the HTTP spec.
Describe alternatives you've considered
There is not any real alternative to this, maybe a range of 0 to 0 or something but that is not entirely clear whether that works.
Additional context
Add any other context or screenshots about the feature request here.
The text was updated successfully, but these errors were encountered: