Closed xiruizhao closed 4 years ago
A HEAD request returns the HTTP headers without the body. This enables curl -I <url> to return the correct response instead of 405 Method Not Allowed.
HEAD
curl -I <url>
405 Method Not Allowed
Thanks for your contribution!
A
HEAD
request returns the HTTP headers without the body. This enablescurl -I <url>
to return the correct response instead of405 Method Not Allowed
.