Commit Graph

322 Commits

Author SHA1 Message Date
John
82b531fbfb add domain support for domain of ghttp.Server 2020-10-14 21:18:11 +08:00
John
67fb626339 add configuration SessionCookieOutput for ghttp.Server 2020-10-14 20:52:26 +08:00
John
9044d5f05d fix issue in custom session id lost for ghttp.Request 2020-10-13 20:34:31 +08:00
John
47663aa1f1 fix issue of EOF in ghttp.Request when no data posted using form-data 2020-10-13 20:12:54 +08:00
John
849874a247 improve adapter definition for package gcache 2020-10-09 20:59:49 +08:00
John
1ec049c52f improve gf server for routes check while starting 2020-09-17 23:27:10 +08:00
John
eb43a2040e add ghttp.Client.RedirectLimit and gfile.ScanDirFileFunc 2020-09-09 22:26:46 +08:00
Jack
dd452c19ce add example for custom uploading file name for ghttp.Server 2020-08-24 23:05:30 +08:00
Jack
b9211b182a comment update for function ghttp.Request. 2020-08-15 12:35:56 +08:00
张以诺
f2e276eabd add function Test_Params_Modify for ghttp_unit_param_test.go 2020-08-14 20:02:52 +08:00
张以诺
f6dbaba1f8 add function ReloadParam for ghttp_request.go 2020-08-14 18:34:43 +08:00
张以诺
65dcff052a add function ReloadParam for ghttp_request.go 2020-08-14 18:19:48 +08:00
张以诺
e3861567c7 add function ReloadParam for ghttp_request.go 2020-08-14 16:22:37 +08:00
张以诺
e89a20c725 add ReloadParam func to ghttp_request.go 2020-08-14 15:19:56 +08:00
Jack
737af527cd improve *Struct functions for ghttp.Request 2020-08-13 23:29:00 +08:00
Jack
820e4302b7 improve function *Struct for ghttp.Request 2020-08-13 18:51:59 +08:00
Jack
e5e27f2ac4 add function GetRouterMap for ghtt.Request 2020-08-12 21:01:17 +08:00
Jack
3e621856c8 change the port range for unit testing cases of ghttp.Server 2020-08-12 09:10:50 +08:00
Jack
32e4d64ddb improve package gjson for automatic content type checking 2020-08-12 00:11:25 +08:00
Jack
a95093222c add GetRemoteIp for ghttp.Request; add *Var feature for ghttp.Client 2020-08-11 15:23:42 +08:00
Jack
9f79453334 improve ghttp.Server by closing the request and response body to release the file descriptor in time 2020-08-08 11:09:58 +08:00
Athos
12b4fdd692
fix: Access-Control-Request-Headers 2020-08-04 11:57:42 +08:00
Jack
15d99eee46 add more unit testing case for ghttp.Server 2020-08-03 20:49:19 +08:00
Jack
6d68277db8 improve cookie feature for ghttp.Server 2020-08-03 20:00:00 +08:00
Jack
2693cbb136 add more unit testing case for ghttp.Server 2020-07-30 22:45:50 +08:00
john
91cd34b26a improve multiple seperator chars handling for router of ghttp.Server 2020-07-29 00:32:54 +08:00
john
04dee090a3 improve graceful reload feature for ghttp.Server 2020-07-25 13:50:04 +08:00
john
245c6d24a1 improve ghttp.Client 2020-07-25 11:24:35 +08:00
John Guo
0627ab81d6
Merge pull request #810 from chenall/master
fix ghttp_client upload filename issue #809
2020-07-21 10:52:39 +08:00
john
8167a398fc add function GetHeader for ghttp.Request 2020-07-21 10:17:31 +08:00
chenall
6291751014
fix ghttp_client upload filename issue #809 2020-07-21 09:57:13 +08:00
John Guo
d29b0a27ff
Merge pull request #760 from kirileec/master
add a SetProxy function and a chaining function Proxy for ghttp.Clien…
2020-07-14 23:09:06 +08:00
john
1d87df2afe add more unit testing case for package ghttp 2020-07-13 22:45:20 +08:00
john
5c5dce9dc3 comment update for admin controller of package ghttp 2020-07-12 09:56:07 +08:00
kirile
f3f6adb03a read Client's timeout for net.Dialer
make sure Client.Transport is *http.Transport
2020-07-05 20:52:33 +08:00
linx
977827e453 add examples for SetProxy function and Proxy chaining function 2020-07-05 20:52:33 +08:00
linx
bcc9153991 add a SetProxy function and a chaining function Proxy for ghttp.Client to do HTTP request via proxy. #285 2020-07-05 20:52:32 +08:00
John
72da1642ee add more unit testing case for ghttp.Client 2020-07-02 19:12:01 +08:00
John
46bdde9265 revert gvar.Var from interface to struct 2020-06-29 13:40:19 +08:00
John
09eba58927 add more unit testing case for ghttp.Client 2020-06-28 23:23:09 +08:00
John
2f44721086 fix issue in reload feature in ghttp.Server 2020-06-28 20:52:33 +08:00
wnstar
ab8fbf171e add SetRedirectLimit function to client 2020-06-21 19:17:39 +08:00
John
b2aa59d893 import third-party library json-iterator to improve the performance for json operations 2020-06-17 21:16:25 +08:00
John
4d38b508a3 improve gvar by changig gvar.Var from type struct to interface 2020-06-16 17:38:05 +08:00
John
c3ffa40bad improve Response/ResponseWriter by implementing http.Flusher for package ghttp 2020-06-15 23:36:20 +08:00
john
1d609fc5c7 fix issue in unit testing case for package ghttp 2020-06-13 14:52:36 +08:00
John
95bd369959 improve function GetClientIp for ghttp.Request 2020-06-11 18:47:56 +08:00
John Guo
a433890097
Merge pull request #721 from kuiye/master
add get client realIp
2020-06-11 18:45:42 +08:00
Kui_Ye
89e122cd31 marge getip func 2020-06-11 09:49:16 +08:00
John
fb1b0bfd88 example update for package g/garray/gmap/gset/ghttp 2020-06-10 19:47:25 +08:00