Commit Graph

31 Commits

Author SHA1 Message Date
Luna 99b1e759ba Merge remote-tracking branch 'upstream/master' 2022-08-07 15:55:22 -03:00
Chao Yang 9bd24caf7e
Closes response by default in HTTP::Server::Context#redirect (#641) 2022-06-29 13:25:40 +03:00
Samantaz Fox 3d2d30db93 Ignore HTTP::Server::Response patching for crystal >= 1.3.0
Closes #627
2022-02-22 17:10:04 +03:00
Luna 845ccb10ab don't overwrite content-length if its already there
we shouldn't overwrite something that the client likely did it
willlingly
2020-09-03 22:54:48 -03:00
Anton Maminov 2e749a2987
fix an issues with responding with long strings (#576) 2020-07-08 14:41:16 +03:00
Anton Maminov b7506f6fab
allow to set optional response body on redirects (#561) 2020-04-04 21:25:35 +03:00
Sijawusz Pur Rahnama c893172fbf Cleanup ameba warnings (#551) 2019-08-30 14:32:23 +03:00
Anton Maminov e3544a86bf Do not early return from HTTP::Server::Response::Output.close. Revert what Ameba broke 2019-06-18 18:03:32 +03:00
Sijawusz Pur Rahnama 06665e81bc Use Ameba on Travis CI (#520) 2019-06-13 14:31:45 +03:00
Serdar Dogruyol e468e2e340 route_defined? -> route_found? 2018-08-13 19:21:18 +03:00
Serdar Dogruyol 2b3ae85c34 Move response under ext 2018-08-13 16:29:32 +03:00
Serdar Dogruyol d2ef57a128 Improve param parsing and remove url_params from HTTP::Request 2018-07-03 20:29:06 +03:00
Serdar Dogruyol ad5dc053c4 Remove _method override 2018-07-03 20:29:06 +03:00
Serdar Dogruyol 6fbad555d0 Remove unused stuff 2018-03-17 17:58:19 +03:00
Serdar Dogruyol 4034dab952 Add Kemal::Context.get? to safely access context storage. Fixes #428 2018-01-26 18:30:09 +03:00
Sijawusz Pur Rahnama 210e2c0801 Prettify docs (#410) 2017-10-06 14:53:53 +03:00
Serdar Dogruyol fe9d193418 Seperate websocket and websocket handler. Fixes #395 2017-09-10 14:41:07 +03:00
Serdar Dogruyol 8fb5be2a42 Remove redundant casts 2017-09-05 12:03:37 +03:00
mang 249912222d Set correct namespace for Route
Fixes compile error "undefined constant Route"
2017-09-05 01:25:42 +02:00
Serdar Dogruyol 422313425c Remove redundant intermediate var from process_route 2017-09-04 23:46:53 +03:00
Serdar Dogruyol a1520de7ed Leave tmpfile management to OS 2017-09-04 17:46:09 +03:00
Serdar Dogruyol 00217d9545 Add more types to method signatures 2017-08-24 23:32:43 +03:00
Sdogruyol 3fd3349383 Don't raise on WS route not found 2017-08-21 12:38:28 +03:00
Sdogruyol 2b604dfb30 Add context to WebSocket. This allows one to use context.params like url,query, body e.g 2017-08-20 20:01:49 +03:00
sdogruyol 9f01eb90e1 Format 2017-05-09 10:46:25 +03:00
sdogruyol e695a491b7 Revert "Modiy HTTP::Params.[] to fetch all params"
This reverts commit c0745cc9e25068e9ce832ca5a79519de516ca4e5.
2017-05-08 17:28:21 +03:00
Rimas Silkaitis 0b4856b741 User defined context store types (#339)
allow the context storage to handle any types
2017-04-06 21:43:41 +03:00
Serdar Dogruyol 1177619da9 Modiy HTTP::Params.[] to fetch all params (#328) 2017-03-13 16:52:42 +02:00
Sdogruyol 8331beceef Move Crystal core classes to ext 2017-03-04 00:01:26 +03:00
sdogruyol ddc92c44e0 Move Kemal::Handler from ext folder 2016-11-10 14:56:05 +03:00
Serdar Dogruyol ec11698ab1 Only / Exclude Paths in Middleware (#245)
Add only / exclude paths in Middlewares
2016-11-09 19:18:39 +04:00