Commit Graph

19 Commits

Author SHA1 Message Date
Kevin Wan 5e969cbef0 fix golint issues, else blocks (#457) 2021-02-09 13:50:21 +08:00
bittoy 88ec89bdbd optimization (#241) 2020-12-02 15:00:07 +08:00
kevin 9592639cb4 add error handle tests 2020-11-17 18:04:48 +08:00
kevin abcb28e506 support error customization 2020-11-17 17:11:06 +08:00
kevin 668a7011c4 add more tests 2020-10-31 20:11:12 +08:00
kevin fe0d0687f5 support cors in rest server 2020-10-21 14:10:36 +08:00
kevin b8fcdd5460 add more tests 2020-10-01 17:50:53 +08:00
kevin be9c48da7f add tracing logs in server side and client side 2020-09-22 17:34:39 +08:00
kevin 2b1466e41e add more tests 2020-08-21 23:09:35 +08:00
kevin d6c7da521e remove bodyless check 2020-08-12 14:44:09 +08:00
kevin 96b6d2ab58 parse body only if content length > 0 2020-08-12 14:37:34 +08:00
kevin 88a73f1042 return ErrBodylessRequest on get method etc. 2020-08-12 14:31:11 +08:00
kevin 80d55dbc02 export httpx.GetRemoteAddr 2020-08-12 12:25:52 +08:00
kevin c57051ce63 use strings.Contains instead of strings.Index 2020-08-11 17:18:51 +08:00
kevin 0a7e0cce77 update package reference 2020-08-08 16:40:10 +08:00
kim 44290aa4d6 refactor 2020-07-31 17:11:59 +08:00
kim cf8e0a118f refactor ngin to rest 2020-07-31 17:03:19 +08:00
kevin b73684d9a6 move router to httpx 2020-07-31 12:13:30 +08:00
kevin 0897f60c5d rename ngin to rest 2020-07-31 11:14:48 +08:00