Serdar Dogruyol
|
5d737ee8f3
|
Rename common_log_handler and common_exception_handler
|
2017-10-06 20:34:18 +03:00 |
Sijawusz Pur Rahnama
|
210e2c0801
|
Prettify docs (#410)
|
2017-10-06 14:53:53 +03:00 |
Serdar Dogruyol
|
c2da18ed38
|
Use .empty? instead
|
2017-10-06 13:41:22 +03:00 |
Serdar Dogruyol
|
63e613a439
|
Don't try to call error_handlers if there isn't any
|
2017-10-05 19:52:57 +03:00 |
Serdar Dogruyol
|
79e324efaf
|
Add more types to method signatures
|
2017-08-25 16:41:02 +03:00 |
Serdar Dogruyol
|
00217d9545
|
Add more types to method signatures
|
2017-08-24 23:32:43 +03:00 |
Sijawusz Pur Rahnama
|
e276c0a278
|
Fix regression introduced in 1afb4cbfa8 (#331)
|
2017-03-12 14:37:23 +02:00 |
Sdogruyol
|
9607083e59
|
Mark inner methods as private
|
2017-02-13 23:39:40 +03:00 |
Serdar Dogruyol
|
81a702264d
|
HTTP::Handler is not a class anymore
|
2016-12-24 14:22:44 +03:00 |
Sdogruyol
|
1afb4cbfa8
|
Use log instead
|
2016-12-04 01:27:26 +03:00 |
sdogruyol
|
2248475573
|
Properly add status_code on exceptions. Fixes #255
|
2016-11-23 20:36:56 +03:00 |
sdogruyol
|
012ac8f6b7
|
Yield error in custom error handlers
|
2016-11-16 20:27:01 +03:00 |
sdogruyol
|
4267a5eea9
|
Set default exception Content-Type to text/html. Fixes #202
|
2016-11-06 11:58:18 +03:00 |
Sdogruyol
|
09d9e708f1
|
Introduce Kemal::InitHandler to initialize HTTP::Server::Context with defaults
|
2016-07-17 18:11:26 +03:00 |
Sdogruyol
|
d11b702ee4
|
More docs
|
2016-07-17 14:26:22 +03:00 |
Sdogruyol
|
19581d6e3e
|
Improve common_exception_handler to handler custom 500 errors. Fixes #175.
|
2016-07-03 11:13:29 +02:00 |
Sdogruyol
|
67abb5fff3
|
Allow 404 error handler to be customizable
|
2016-05-15 14:58:09 +03:00 |
sdogruyol
|
76b5add665
|
Don't write to context in case of an exception
|
2016-05-05 23:22:58 +03:00 |
sdogruyol
|
6611b976a9
|
Improve exception handler
|
2016-05-05 23:12:17 +03:00 |
sdogruyol
|
e6d9311895
|
Start implementing error block
|
2016-05-05 22:35:36 +03:00 |
Sdogruyol
|
e077d17943
|
Remove colorize from common exception handler
|
2016-04-18 22:17:55 +03:00 |
Sdogruyol
|
664673f125
|
Set content-type to text/html on errors.Fixes #130
|
2016-03-18 20:03:04 +02:00 |