Please sign in to comment.
Implemented handler-specific options in a way that allows them to be …
…retrieved and used from rackup or any other user of Rack::Server. - Rack handlers that can accept options can now provide a valid_options method that returns a hash of options that can be passed to the handler. - If the hash contains Host or Port, they will be ignored for display by Rack::Server. - Options can be passed in with -O or --option followed by optname=value, or just optname if the option is binary. - rackup -h will display options for the default handler, and rackup -s SERVERNAME -h will display the options for SERVERNAME.
- Loading branch information...
Showing with 76 additions and 2 deletions.