librespeed / speedtest-go

Go backend for LibreSpeed
GNU Lesser General Public License v3.0
706 stars 153 forks source link

support http HEAD method #7

Closed xiruizhao closed 3 years ago

xiruizhao commented 3 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.

maddie commented 3 years ago

Thanks for your contribution!