mjpclab / go-http-file-server

Simple command line based HTTP file server to share local file system
MIT License
379 stars 55 forks source link

options method #11

Closed steom closed 8 months ago

steom commented 3 years ago

please consider a command parameter to disable the OPTIONS method as so to only left the methods GET, HEAD, PUT and DELETE active on the http server

marjune163 commented 3 years ago

If a client request with OPTIONS, what is the behavior on server side?