rob-murray / ferver

A Ruby gem to serve files over HTTP, packaged as a Ruby gem
MIT License
14 stars 3 forks source link

A first pass at basic auth. #20

Closed dkam closed 9 years ago

dkam commented 9 years ago

Hi there. Here's a first shot at Basic Auth. You can pass in -u user -p password and test it with

curl http://user:pass@localhost:4567/files

Do you think it needs to be laid out differently?