1
0
mirror of https://github.com/astaxie/beego.git synced 2024-11-14 17:20:56 +00:00
Commit Graph

156 Commits

Author SHA1 Message Date
astaxie
e76423e6dc revert #2518, fix #2605 2017-04-30 23:59:38 +08:00
astaxie
a91e2e9950 add golint check and fix all golints 2017-04-30 22:41:23 +08:00
astaxie
453691728a gofmt simplify 2017-04-20 10:56:09 +08:00
liaoziqian
b0e2012a17 Fix set cookie bug, zero max age is not valid. 2017-03-21 09:15:30 +08:00
ysqi
6d997366ed Fixed 2456 and strengthen bind 2017-03-04 20:23:55 +08:00
jiayukun
393e4c4969 Improve json coding performance 2017-02-22 17:38:26 +08:00
kbynd
2f6da122fd Update output.go 2017-01-02 09:17:17 +05:30
kbynd
f0d1d7149b Update output.go 2016-12-31 16:14:38 +05:30
kbynd
96387e9a9b EnableGZip=true,then content-length header missing
This results in responses with Content-Type as gzip as opposed to original content type.
This affects ServeJSON() function.
2016-12-31 16:04:34 +05:30
astaxie
868e14b8ba fix #2017 2016-09-15 20:04:45 +08:00
YakunZ
0ad4038d9f fix#2039 & test 2016-08-24 16:04:22 +08:00
astaxie
8b525b1aa5 fix #1656 2016-08-19 00:31:46 +08:00
astaxie
86b3162aff fix #1695 update docs 2016-08-19 00:11:19 +08:00
astaxie
61c9387edd Merge pull request #2085 from danielscottt/reset-params
adds ability to reset params after a filter runs
2016-08-09 07:24:08 +08:00
dan pittman
0e786fa4af
adds ability to reset params after a filter runs
When a filter is run _after_ the router completes, it's input params,
such as `":splat"` will have been overwritten by the filter's router pass.
This commit adds the ability to tell the router to revert to the previous input
params after running a filter.
2016-08-07 07:44:30 -07:00
astaxie
01c3812520 Merge pull request #2086 from Maxgis/issue_accept_encoding
Refactoring
2016-08-07 16:25:51 +08:00
maxin
ce6f19871c Refactoring 2016-08-06 21:13:58 +08:00
astaxie
ce6d673933 Merge pull request #2045 from Maxgis/master
avoid  error when the  callback function not exisit
2016-08-02 09:50:52 +08:00
Maxgis
5485e1334f remove not support encoding 2016-07-27 09:31:53 +08:00
simsun
ee26279311
fix(context): retrieve scheme from X-Forwarded-Proto when it isn't none 2016-07-19 00:36:51 +08:00
maxin[马鑫]
8099a81b7a avoid error when the callback function not exisit 2016-07-15 19:13:35 +08:00
astaxie
cef91db28e Merge pull request #1956 from gitchs/master
Ctx.Redirect patch
2016-05-23 13:50:59 +08:00
tinyproxy
f32392e956 net/http will do it better 2016-05-21 15:19:21 +08:00
ysqi
830985b90b QueryEscape Download File Name 2016-04-27 22:05:31 +08:00
JessonChan
ed0e6419f0 context xsrf test 2016-04-08 14:07:39 +08:00
JessonChan
a99c0d4025 context xsrf test 2016-04-08 14:04:25 +08:00
JessonChan
301dcfb626 context xsrf bug fixed 2016-04-08 14:04:10 +08:00
astaxie
52fbab329d Merge pull request #1844 from mishudark/master
delete not used variable (status int) in output.go functions
2016-03-30 15:44:32 +08:00
mishudark
eae2147735 chore(output.go): delete not used variable (status int) in check status functions 2016-03-29 23:28:53 -06:00
astaxie
70108131e6 Merge pull request #1832 from JessonChan/log_enhancement
Log enhancement
2016-03-25 21:12:06 +08:00
JessonChan
2db8c753fd bee fix 2016-03-25 10:56:15 +08:00
YuShuangqi
b7d1afbf86 Remote empty line 2016-03-24 08:35:42 +08:00
ysqi
1eab11ca90 fixed #1815 check file before download 2016-03-23 21:27:28 +08:00
astaxie
6c0979c314 Merge pull request #1805 from JessonChan/abort_panic_bug
Abort panic bug
2016-03-23 10:22:32 +08:00
JessonChan
b2098266a3 add error test 2016-03-22 18:27:29 +08:00
JessonChan
7bad3d1c67 change the compress leve to [0~9] 2016-03-22 16:47:11 +08:00
JessonChan
4db78f243e change the function args of init gzip method 2016-03-22 16:42:42 +08:00
JessonChan
959b9a5a58 config index out of range bug fixed 2016-03-21 09:32:41 +08:00
JessonChan
4caf044be2 getMethodOnly assign fixed 2016-03-18 15:18:00 +08:00
JessonChan
9f21928a90 some typo fixed 2016-03-17 20:07:24 +08:00
JessonChan
57eace07a7 comment update 2016-03-17 19:52:09 +08:00
JessonChan
35e34261ab gzip method support 2016-03-17 19:40:29 +08:00
JessonChan
48147f50d8 add some gzip future 2016-03-17 19:09:21 +08:00
astaxie
d90195061f fix #1783 2016-03-13 11:16:19 +08:00
astaxie
31f7524dae fix the golint travis 2016-03-10 21:47:50 +08:00
JessonChan
f21cff0166 some typo fixed 2016-03-09 16:00:52 +08:00
JessonChan
3dd9020249 Merge remote-tracking branch 'remotes/upstream/develop' into err_ctrler 2016-03-09 15:59:13 +08:00
JessonChan
9a2696d216 accept asta's idea see the talk
https://github.com/astaxie/beego/pull/1719
2016-03-09 15:56:18 +08:00
astaxie
5698b5dc92 Merge pull request #1709 from mlgd/develop
Fix cookies in accordance with the "net / http" and Flash usage
2016-03-08 13:53:43 +08:00
JessonChan
8c37e76503 the net/http should set header first,the set http status code and then write the content 2016-02-24 14:14:16 +08:00