Commit graph

501 commits

Author SHA1 Message Date
3248706eb2 Merge remote-tracking branch 'upstream/master' 2024-11-15 00:04:18 -03:00
Sijawusz Pur Rahnama
749c537e85
Bump exception_page shard to version ~> 0.5.0 (#693) 2024-10-28 13:55:56 +03:00
Serdar Dogruyol - Sedo セド
85fcbbee02
Windows support (#690)
Windows support
2024-10-01 10:11:52 +03:00
Abdullah Alhusaini
3243b8e0e0
clarify startup message in test mode (#687) 2024-07-30 12:44:38 +03:00
Abdullah Alhusaini
0afbd129f5
use Process.on_terminate to support SIGTERM termination. (#685) 2024-07-25 12:17:35 +03:00
Abdullah Alhusaini
1d46fd17d7
fix #683 (#684) 2024-07-24 16:51:08 +03:00
Sijawusz Pur Rahnama
5554d3d2f1
Followup to #679 (#680) 2024-05-16 20:36:02 +03:00
Serdar Dogruyol - Sedo セド
6a29240bbe
Use context instead of response in static_headers helper (#681) 2024-05-10 18:47:27 +03:00
Alexander Kutsan
e69bd400b7
Directory Listing: Add UTF-8 Charset to the response Content type (#679) 2024-05-07 15:11:38 +03:00
Sijawusz Pur Rahnama
b074578c1a
Add Date header to HTTP responses (#676) 2024-04-10 19:26:04 +03:00
Sijawusz Pur Rahnama
7c47bbc150
Fix recent changes to CustomException (#673) 2024-02-14 13:33:05 +03:00
Serdar Dogruyol
bef7351000 Don't call super on CustomException 2024-02-03 13:48:18 +03:00
Serdar Dogruyol - Sedo セド
bb9105f202
Add message support to Kemal::Exceptions::CustomException (#671) 2024-02-01 12:50:40 +03:00
Sijawusz Pur Rahnama
9628043e4c
Bump exception_page dependency (#669) 2024-01-23 19:08:49 +03:00
Giorgi Kavrelishvili
0de0e990e9
Move to Process.on_interupt (#666) 2024-01-23 19:07:39 +03:00
Val Packett
13fd4f8b2f
helpers: Support building without_zlib (#667) 2023-10-31 13:34:15 +03:00
Thomas Fini Hansen
cb9adcd188
Allow HTTP::Server::Context#redirect to take an URL (#659) 2023-09-24 09:35:08 +03:00
Mike Robbins
8ebe171279
HeadRequestHandler: run GET handler and don't return the body (#655) 2023-02-22 07:34:47 +03:00
Serdar Dogruyol - Sedo セド
84ea6627ac
Add Kemal::OverrideMethodHandler (#651) 2023-02-19 08:59:30 +03:00
Anton Maminov
6a10ea8127
bump ameba to 1.4.0 and fix warnings (#654) 2023-02-17 08:18:37 +03:00
Aravinda Vishwanathapura
19661893ca
Fix multiple logger handlers when custom logger is used (#653) 2023-02-17 08:13:54 +03:00
Serdar Dogruyol - Sedo セド
c8f857dff3
Omitting filters fix for lowercase methods requests (#647) 2022-09-15 11:52:28 +03:00
99b1e759ba Merge remote-tracking branch 'upstream/master' 2022-08-07 15:55:22 -03:00
Anton Maminov
f5d767fe7e
Fix static file handler for Crystal 1.6.0 (#644) 2022-08-04 12:42:18 +03:00
Oleksii Vasyliev
1a45f54c6c
Disable signal trap for usage kemal with other tools (#642) 2022-07-16 12:44:40 +03:00
Russell Smith
05d55540b9
Enable option for index.html to be a directories default (#640) 2022-06-30 18:00:51 +03:00
Serdar Dogruyol
268e501a63 fix Crystal 1.5.0 warnings 2022-06-29 13:31:28 +03:00
Chao Yang
9bd24caf7e
Closes response by default in HTTP::Server::Context#redirect (#641) 2022-06-29 13:25:40 +03:00
Serdar Dogruyol - Sedo セド
317d086b4c
fix content_for failing to capture the correct block input (#639) 2022-06-27 12:28:13 +03:00
Alexander Zhou
d53d253620 Eliminated several seconds of delay when loading big mp4 file 2022-05-31 17:14:59 +03:00
matthewmcgarvey
d6dc893052 Fix content rendering 2022-02-24 17:49:19 +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
eb1832acaf Merge remote-tracking branch 'upstream/master' 2021-10-09 17:35:25 -03:00
Serdar Dogruyol
0ab0ecb7c6 Remove all code references to Kilt 2021-09-08 17:31:45 +03:00
Henrik Christensen
a251ede5bd
Deprecate dependency on Kilt (#615) 2021-09-07 14:36:21 +03:00
Serdar Dogruyol - Sedo セド
64733c10e0
Set content type to text/html for 500 exceptions (#616) 2021-09-01 18:26:38 +03:00
Anton Maminov
14aabb8907
fixed executing filters when before and after is defined at the same time (#612) 2021-09-01 16:25:21 +03:00
bba5bef505 don't prepend raw close code anymore
thanks to recent crystal changes adding support for close reasons we
don't need to encode things anymore.
2021-05-12 12:17:02 -03:00
00e5c98fdd Merge remote-tracking branch 'upstream/master' 2021-05-12 11:57:15 -03:00
Serdar Dogruyol - Sedo セド
6e72ebb447
Add array of paths support for before/after filters (#605) 2021-04-05 18:24:09 +03:00
Aravinda Vishwanathapura
de5e022222
New option to set application name (#606) 2021-04-05 18:05:06 +03:00
2fb7d018d5 fix websocket close wrapper 2021-03-31 22:57:05 -03:00
6af6569b0f Merge remote-tracking branch 'upstream/master' 2021-03-31 22:36:00 -03:00
Sijawusz Pur Rahnama
0764091e03
Bump ameba dependency (#602) 2021-03-15 08:45:35 +03:00
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
61af3854cb route_handler: remove auto-HEAD 2020-09-03 22:54:48 -03:00
aa378b7a90 add head method to dsl 2020-09-03 22:54:48 -03:00
2f9f859be9 websocket: default to error code 500 on any websocket error 2020-09-03 22:54:48 -03:00
19bc38b881 add support for error codes on websockets
copied from 541dfc9da5/src/onyx-http/middleware/router/websocket_handler.cr (L36)
2020-09-03 22:54:48 -03:00
Anton Maminov
dfe7dca08f
fix websocket issue (#577) 2020-07-08 14:42:08 +03:00