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
astaxie
c56704f3fd
Merge branch 'master' into develop
2017-10-14 17:53:40 +08:00
LI Daobing
9b57566963
fix typo
2017-10-11 14:35:31 +08:00
astaxie
a7354d2d08
Revert "should use time.Since instead of time.Now().Sub"
2017-09-09 06:29:38 +08:00
wangguoliang
c8c25549e7
should use time.Since instead of time.Now().Sub
...
Signed-off-by: wgliang <liangcszzu@163.com>
2017-09-07 19:01:34 +08:00
mlgd
166e88c103
Update input.go
2017-08-09 21:05:06 +02:00
mlgd
51b6adeb24
Add IPV6 compatibility
2017-08-09 10:23:03 +02:00
MiskoLee
29bcd31b27
supported gzip for req.Header has Content-Encoding: gzip
2017-07-10 21:27:54 +08:00
astaxie
7ec819deed
fix #2725 big form
2017-07-04 21:16:59 +08:00
eyalpost
8b504e7d51
incorrect error rendering (wrong status)
2017-06-12 21:05:40 +03:00
Eyal Post
11b4bf8aaa
move to context
2017-05-18 10:38:12 +03:00
Eyal Post
2513bcf584
remove Redirect to avoid confusion
2017-05-18 10:32:51 +03:00
Eyal Post
3e51823c0f
move response
2017-05-18 09:05:49 +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
Eyal Post
d54cd4fa5f
Merge remote-tracking branch 'upstream/develop' into develop
2017-05-17 20:02:40 +03:00
eyalpost
1004678005
popular status codes
2017-05-12 09:57:56 +03:00
eyalpost
0ac2e47162
location=>paramType
2017-05-12 09:28:46 +03:00
eyalpost
b6a35a8944
more tests
2017-05-12 09:25:12 +03:00
Eyal Post
74dc3c7500
tests
2017-05-11 19:32:44 +03:00
Eyal Post
cb4f252a06
defValue -> defaultValue
2017-05-11 17:58:25 +03:00
Eyal Post
d3a16dca85
Redirect should returns error
2017-05-01 08:57:57 +03:00
Eyal Post
1b8f05cef1
golint fixes
2017-04-30 19:28:26 +03:00
Eyal Post
cfb2f68dd6
Merge remote-tracking branch 'upstream/develop' into develop
2017-04-30 18:59:50 +03:00
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
eyalpost
4cba78afd9
small fixes
2017-04-25 23:42:35 +03:00
eyalpost
cbd831042a
move under context
2017-04-25 18:39:42 +03: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