17 Commits

Author SHA1 Message Date
Rick Beton
52cbb78b19
Merge bfbe3c317bd744347dc77a77b5a7148641665490 into 464535ff94799b012f90f15edcffd32e4abe32fa 2021-10-19 21:13:25 +05:30
ziheng
caf2802593
Improve router group tests (#2787) 2021-07-13 09:44:19 +08:00
Rick
652faa23c2 refactored Engine.handleHTTPRequest so that two passes are made if the request is HEAD and there isn't a matching HEAD handler
added more documentation

re-ordered GET and HEAD methods to be adjacent

rendering is now suppressed for HEAD request, which means that wasteful processing is avoided
2020-11-07 10:23:05 +00:00
thinkerou
d5f12ac6d7
use http method constant (#2155)
* use http method constant

* fix typo
2019-11-29 07:50:49 +08:00
田欧
f45c928a15 chore: use http.Status* instead of hard code (#1482) 2018-08-14 09:51:56 +08:00
田欧
eeb57848ca update assert param(expect, actual) position (#1177) 2017-11-21 21:18:45 +08:00
Manu Mtz-Almeida
fc5e355724 BasePath is not longer an exported field, but a method instead 2015-07-08 04:27:23 +02:00
Manu Mtz-Almeida
8f3047814e Comments + IRoutes + IRouter + unexported AbortIndex 2015-07-02 20:24:54 +02:00
Steeve Chailloux
4238c5b83d make routesInterface exported 2015-06-23 15:57:21 -05:00
Manu Mtz-Almeida
4998bc2b2e Fixes pipeline API 2015-06-11 01:02:38 +02:00
Manu Mtz-Almeida
92475baba6 Adds more units tests 2015-06-04 04:50:40 +02:00
Manu Mtz-Almeida
ee021d06ea More unit tests 2015-06-04 04:32:18 +02:00
Manu Mtz-Almeida
cac77e04e3 Adds option for listing directory files + better unit tests 2015-05-21 17:01:13 +02:00
Manu Mtz-Almeida
72f200ac56 Adds StaticFile() 2015-05-21 16:59:58 +02:00
Manu Mtz-Almeida
e59475c615 Drops LINK and UNLINK shortcuts 2015-05-20 00:32:06 +02:00
Manu Mtz-Almeida
3066c35754 Renames RouterGroup.absolutePath to .BasePath 2015-05-16 18:08:19 +02:00
Manu Mtz-Almeida
0a192fb0fa Tons of unit tests 2015-04-09 12:15:02 +02:00