Commit graph

18 commits

Author SHA1 Message Date
Cris Ward
48128696c6 Prevent send_file returning filesize (#344)
Prevent send_file returning filesize
2017-03-29 15:09:25 +03:00
Serdar Dogruyol
b7ce53e5ab Crystal 0.21.0 support (#304)
Crystal 0.21.0 support
2017-02-21 21:24:11 +02:00
Sdogruyol
66e04ecaec 0.17.3 2016-12-03 17:37:58 +03:00
sdogruyol
b4c10a3f59 Remove basic auth middleware 2016-11-26 21:51:06 +03:00
sdogruyol
d676b559d2 Rename return_with as halt for clear intention 2016-11-01 11:46:13 +03:00
Serdar Dogruyol
922d6de4d1 Middleware ordering (#236)
Improve and correct request middleware

 Request -> Middleware -> Filter -> Route
2016-10-28 11:35:34 +03:00
sdogruyol
7efe69ac31 Add multipart support <3 2016-10-01 18:18:28 +03:00
Cris Ward
a8cc4f4177 gzip static files options dir listing and etags
format
2016-09-18 01:46:16 +01:00
sdogruyol
4cd30839a5 Add gzip helper to enable/disable HTTP::DeflateHandler 2016-09-15 19:35:34 +03:00
Sdogruyol
d4e96c7b44 Add spec for send_file binary 2016-08-08 21:49:47 +03:00
Sdogruyol
5e297d86f8 Add send_file to helpers 2016-07-19 20:58:04 +03:00
Sdogruyol
09d9e708f1 Introduce Kemal::InitHandler to initialize HTTP::Server::Context with defaults 2016-07-17 18:11:26 +03:00
Sdogruyol
4edebcf8eb Format 2016-07-17 14:31:45 +03:00
Sdogruyol
3ea6a01afc Remove file handler from CommonLogHandler. Log only to STDOUT. Fixes #159 2016-07-05 22:14:00 +03:00
Matthew Gerrior
fbbb43dcab Add "headers" helper to make it easier to add headers to response. 2016-06-16 10:33:38 -04:00
Fatih Kadir Akın
8110788a41 Added return_with macro to break response in the middle of the block. 2016-03-30 00:48:58 +03:00
Sdogruyol
87df71a89a Refactor specs 2016-03-21 18:29:48 +02:00
Sdogruyol
8c87a3fa67 Replace global macros with methods. Thanks @asterite 2016-02-14 18:52:49 +02:00
Renamed from spec/macros_spec.cr (Browse further)