librespeed / speedtest-go

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

support http HEAD method #7

Closed xiruizhao closed 4 years ago

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

maddie commented 4 years ago

Thanks for your contribution!