Upgrade sinatra to 1.4.2 [Fixes #46496455]

Changes needed to upgrade to sinatra 1.4.2

- Use Rack:File instead of Sinatra::Base::StaticFile
- Redirects uses 303 http code for other verbs than GET