Commit Graph

35 Commits

Author SHA1 Message Date
Ming Deng 650fde66aa Revert "Merge pull request #4254 from astaxie/develop-2.0"
This reverts commit e284b0ddae, reversing
changes made to 8ef8fd2606.
2020-11-26 17:48:29 +08:00
Ming Deng b4a85c8f13 Remove files 2020-08-16 23:09:19 +08:00
Ming Deng 882aa9b967 Deprecated old web module 2020-08-05 21:57:20 +08:00
Chenrui c3f14a0ad6
refactor: log error when payload too large 2020-07-09 09:45:40 +08:00
Chenrui 03f78b2e4a
fix: add error code support 2020-07-08 18:09:01 +08:00
Waleed Gadelkareem 8995b291a9 Make LogAccess public 2019-02-14 16:30:25 +01:00
Ruben Cid 5c407ff2e3 Add map shortcut and ServeFormatted method in output 2018-08-20 22:55:50 +02:00
astaxie 2c779a4287
Merge pull request #3141 from gadelkareem/patch-2
Improve access log
2018-07-20 15:20:15 +08:00
Amit Ashkenazi 6df42d63e2 Fix response http code 2018-04-29 15:12:32 +03:00
Waleed Gadelkareem d5c1c0e9a4 log errors in access log and make static request logging optional 2018-04-28 20:03:39 +02:00
பாலாஜி ce677202e5 issue no:#2261 fix for xsrf panic error 2017-05-19 14:02:14 +05:30
astaxie 1e1e900278 fix #2126 2016-08-30 21:00:27 +08:00
ysqi b7e3402995 Sport Error exeception for outside 2016-06-01 21:30:04 +08:00
ysqi 885d45db05 fix the issue #1850,the source of the problem is PR #1805 2016-04-04 21:32:43 +08:00
JessonChan 0859ec570c refactor of error response and fix err code bug 2016-03-17 09:46:34 +08:00
JessonChan 443d71397c write error to response 2016-03-17 09:35:14 +08:00
youngsterxyf da38cbfe41 fix issue #1641 2016-02-01 22:40:34 +08:00
astaxie f925bb9058 golint all the files 2016-01-18 00:18:21 +08:00
fud bbd42ce152 simplify docs.go and error.go, use http.StatusText instead of string codes 2015-12-21 17:16:58 +08:00
astaxie d1bba02958 refact beego config 2015-12-09 23:35:04 +08:00
JessonChan 0ac690d2c8 method name refactor 2015-09-18 17:59:28 +08:00
JessonChan cc5abc6b30 default atoi func to handle exception 2015-09-18 17:03:00 +08:00
JessonChan 8df2cca627 add comment 2015-09-18 10:32:21 +08:00
JessonChan ead635e62f default exception handler 2015-09-18 10:31:10 +08:00
astaxie 6e24b78b62 fix the wrong response 2015-09-17 23:27:34 +08:00
astaxie bb6062857b fix the error refactor 2015-09-17 23:05:45 +08:00
JessonChan bb776cc4cb error map refactor 2015-09-17 10:33:12 +08:00
astaxie ff5b09fc19 golint context 2015-09-10 15:31:09 +08:00
astaxie 67b36d7c48 make golint happy 2015-09-08 21:41:38 +08:00
astaxie 85d8ec5ca6 optimize the beego structure 2015-09-07 19:18:04 +08:00
Yongzheng Lai c516819c56 Update error.go
this caused `http: multiple response.WriteHeader calls` when using method `CustomAbort` or `Abort` when status is already in errMap like 404.
2015-08-28 16:54:49 +08:00
astaxie 18bdec951d fix #1143 2015-05-25 09:10:37 +08:00
astaxie 26130a5df6 fix #1073 2015-05-25 09:10:35 +08:00
astaxie 6e9d2dc965 add more error functions 2015-02-26 23:49:24 +08:00
astaxie 3aceaf8838 error support controller 2015-02-26 23:34:43 +08:00