Commit graph

11 commits

Author SHA1 Message Date
Sdogruyol
4edebcf8eb Format 2016-07-17 14:31:45 +03:00
Mike Perham
22d6c1773e Remove HTTP prefix, this is a Rack impl convention, not a standard. 2016-06-29 14:52:47 -07:00
Mike Perham
e407d0195c Implement CSRF protection
This adds a middleware which, when activated, will deny any form submission which does not include a valid `authenticity_token` parameter or `http-x-csrf-token` header with the request.

The header and parameter names are identical to the ones supported by Ruby's rack-protection gem for interoperability purposes.
2016-06-28 15:50:43 -07:00
Omar Roth
ac4a5afc05 Fix ssl and specs for 0.18 2016-06-14 16:18:00 -05:00
sdogruyol
40ab34c63d All specs passing 2016-04-12 20:00:37 +03:00
Joris Moriau
e6d1da6dd2 added small feature 2016-02-17 20:56:19 +01:00
sdogruyol
5a58ee3cbb Format code 2016-02-17 11:52:13 +02:00
Joris Moriau
c5201f01ad added verb for filters and minor improvements 2016-02-17 10:34:01 +01:00
Werner
ab711c22fd Basic filter implementation, similar to Sinatra. 2016-02-07 09:49:38 -04:30
Sdogruyol
d1f95c0f39 All specs passing except macros 2016-01-24 12:22:25 +02:00
Sdogruyol
743fd3682d Add HTTPBasicAuth middleware 2015-12-27 11:53:54 +02:00