Replies: 1 comment
-
NextJS is correct, you're using curl wrong :) https://curl.se/docs/manpage.html#-X
So curl is effectively treating the response like it would a GET response and waiting for the body. Use |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, we are using NextJS in production for our website and we noticed that each HEAD request is sending a content length in the HEAD request response.
It's a bit problematic for us as we need to cache those pages through our CDN.
CURL example on localhost :
We have checked RFC 9110 HTTP Semantics, which allowes this content-length but it seems to be better not having this header.
RFC 9110 HTTP Semantics:
Is that behavior normal or not ? Could we fix it or not ?
Beta Was this translation helpful? Give feedback.
All reactions