Commit Graph

70 Commits

Author SHA1 Message Date
sdogruyol 6b034c3b2f Rename MemoryIO to IO::Memory since it's deprecated on Crystal 0.20.0 2016-11-22 23:29:10 +03:00
sdogruyol 23cd325def Move some stuff to Utils 2016-11-19 00:05:22 +03:00
sdogruyol 8ec9ed8331 Improve docs 2016-11-10 16:38:29 +03:00
Sam Eaton 7688bd13a5 Close repsonse on halt (#246) 2016-11-07 23:31:36 +04:00
sdogruyol e6810c4516 Route declaration must start with / fixes #242 2016-11-04 11:12:59 +03:00
sdogruyol d676b559d2 Rename return_with as halt for clear intention 2016-11-01 11:46:13 +03:00
Serdar Dogruyol 3342007701 Yield UploadFile in parse_multipart (#224) 2016-10-12 16:51:28 +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 ad571db682 Rename view.cr to templates.cr and move it under helpers 2016-08-13 17:43:18 +03:00
Sdogruyol d4e96c7b44 Add spec for send_file binary 2016-08-08 21:49:47 +03:00
Sijawusz Pur Rahnama 31cc9fbff4 Add send_file helper variation for sending raw data (#188)
Add send_file helper variation for sending raw data

* Use Response#content_type=

* Fix docs
2016-08-08 21:15:43 +03:00
Sijawusz Pur Rahnama 4397a3c7fd Use Response#content_type= 2016-08-08 04:17:58 +02:00
Sdogruyol 5e297d86f8 Add send_file to helpers 2016-07-19 20:58:04 +03:00
Sdogruyol 725e051723 Document helpers 2016-07-17 17:06:49 +03:00
sdogruyol dee1d1c58b Make macro variables local 2016-07-13 16:24:25 +03:00
Sdogruyol e6e70fe222 Don't load unless caller and content matches for content_for 2016-07-10 15:01:00 +03:00
Sdogruyol ce2ffed705 Don't yield content if there's not any content_for it 2016-07-10 13:24:38 +03:00
Sdogruyol f3175bdb72 Split helpers.cr into helpers/macros.cr and helpers/helpers.cr 2016-07-10 13:03:09 +03:00