1
0
mirror of https://github.com/astaxie/beego.git synced 2024-11-01 04:30:55 +00:00
Commit Graph

60 Commits

Author SHA1 Message Date
astaxie
d3d97de312
Merge pull request #3200 from openset/master
Update: use PathEscape replace QueryEscape
2018-06-12 22:45:14 +08:00
Sandy
bf915c3280
Update: use PathEscape replace QueryEscape
If filename contain space(" "), QueryEscape use "+" instead.
2018-06-12 16:15:20 +08:00
astaxie
e96a5fb3ca
Merge pull request #3115 from m4grio/minor-typo
Amend a very minor typo in a variable name
2018-04-20 19:26:42 +08:00
Mario Álvarez
5fb29cb772
Amend a very minor typo in a variable name 2018-04-10 12:19:50 +08:00
Pritesh Gudge
aac69674ad
Update Documentation in Output.go
Fix Documentation for HTTP status codes descriptions.
2017-12-21 13:50:28 +05:30
eyalpost
8b504e7d51 incorrect error rendering (wrong status) 2017-06-12 21:05:40 +03:00
Eyal Post
e32a18203b fix gosimple 2017-05-17 21:27:32 +03:00
Eyal Post
828cbbdf5d Refactor a bit to consolidate packages 2017-05-17 20:38:59 +03:00
astaxie
e76423e6dc revert #2518, fix #2605 2017-04-30 23:59:38 +08:00
liaoziqian
b0e2012a17 Fix set cookie bug, zero max age is not valid. 2017-03-21 09:15:30 +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
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
maxin[马鑫]
8099a81b7a avoid error when the callback function not exisit 2016-07-15 19:13:35 +08:00
ysqi
830985b90b QueryEscape Download File Name 2016-04-27 22:05:31 +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
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
d90195061f fix #1783 2016-03-13 11:16:19 +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
Mickaël GALLARD
9119f766d2 Fix cookies in accordance with the "net / http" and Flash usage
Fixed issue of Flash cookies that are deleted before being read
Max-age parameter conform to "net/http" Cookie
2016-02-22 13:35:54 +01:00
ysqi
d35c50a8e0 return write body error 2016-02-12 11:36:25 +08:00
ysqi
810f6db8d2 fix #1669 write empty body panic error 2016-02-12 11:27:59 +08:00
astaxie
f70f338025 use sync.Pool to reuse Context 2015-12-10 21:59:54 +08:00
JessonChan
bc2195b07f code simplify 2015-11-12 16:59:07 +08:00
JessonChan
a9881388f7 accept encoder header setting fixed 2015-11-12 10:08:57 +08:00
JessonChan
e4c6e5d2e1 change package 2015-11-11 13:47:47 +08:00
JessonChan
8603127c81 beego package file path rewrite 2015-11-10 13:10:42 +08:00
JessonChan
83ec39d02e refactor max age cookies setting 2015-11-10 11:47:10 +08:00
JessonChan
3872c48349 accept encoding refactor and bug fixed 2015-11-10 10:55:47 +08:00
astaxie
821b2f832e fix the type assert 2015-11-09 11:03:57 +08:00
JessonChan
1abf85ed2a simplify the switch code 2015-09-22 15:18:24 +08:00
astaxie
ff5b09fc19 golint context 2015-09-10 15:31:09 +08:00
Yongzheng Lai
a311d712a5 Update output.go 2015-05-25 09:10:35 +08:00
Yongzheng Lai
bb5351bb9f Update output.go
fix cookie not work in IE
2015-05-25 09:10:35 +08:00
Hily Jiang
db04c3cbb4 make Content-Type header more human-readable 2014-11-24 23:12:09 +08:00
astaxie
a144769515 update the documents & comments 2014-08-18 16:41:43 +08:00
Christoph Portmann
3bb4d6f013 beego/context: Fix ignored Header in case SetStatus has been called before 2014-07-08 23:24:47 +03:00
astaxie
fefd8ddb5b beego: update licence& fix #669 2014-07-03 23:40:21 +08:00
astaxie
0f170a80da update the comments fix #658 2014-06-25 10:39:37 +08:00
astaxie
b45f0b9bf6 beego: fix #478 2014-05-17 02:56:50 +08:00
astaxie
c188cbbcb4 update all files License 2014-05-17 02:26:50 +08:00
slene
d79c297880 rollback: set httponly default is false. 2014-03-20 09:51:25 +08:00
slene
ee889e9975 skip cookie args when value is nil 2014-03-12 15:56:04 +08:00
slene
9b498feac7 update output.Cookie 2014-03-12 15:56:04 +08:00