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

pr_static should serve HEAD requests automatically #798

Open
vspinu opened this issue May 1, 2021 · 0 comments
Open

pr_static should serve HEAD requests automatically #798

vspinu opened this issue May 1, 2021 · 0 comments

Comments

@vspinu
Copy link
Contributor

vspinu commented May 1, 2021

I believe pr_static should automatically provide handling of HEAD requests. These are used for various optimizations on the client side. I personally need it for https://livejs.com/ as plumber doesn't provide a native autoreload feature (#488).

vspinu added a commit to vspinu/plumber that referenced this issue May 1, 2021
  - Add missing "Last-Modified" and "Content-Length" headers directly in static handler
  - New function http_date_string to generate http strings
vspinu added a commit to vspinu/plumber that referenced this issue May 1, 2021
  - Add missing "Last-Modified" and "Content-Length" headers directly in static handler
  - New function http_date_string to generate http strings
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant