Commit Graph

369 Commits

Author SHA1 Message Date
jflyfox
a2e7aec37f change constant variable names 2020-12-14 13:26:48 +08:00
John Guo
688e327f15 improve unit testing case for package ghttp 2020-12-10 23:38:59 +08:00
John Guo
84fef8dea3 add error code feature for package gerror 2020-12-10 23:33:24 +08:00
John Guo
117eaea720 add support for cert and key file reading from resource manager for ghttp.Server 2020-12-09 00:06:56 +08:00
Jack
0bc8944a08 change ghttp.NewClient to g.Client 2020-11-25 16:40:45 +08:00
Jack
33292f54e0 improve status handler by supporting multiple status handler for package ghttp 2020-11-25 16:37:41 +08:00
Jack
fc215ef0b2 add function ghttp.RouterGroup.ALLMap 2020-11-24 21:19:01 +08:00
Jack
65c67427d4 compatible with Case of https://github.com/pkg/errors 2020-11-23 16:32:57 +08:00
John
8ca535dbf0 fix issue in session cookie feature 2020-11-21 11:18:21 +08:00
Jack
baf51bc68f merge develop 2020-11-18 10:57:14 +08:00
John
d56eb49e41 improve performance for gconv.Struct/Structs using directly reflect set 2020-11-15 15:13:40 +08:00
John
8f278be0dc improve build-in varables for view of ghttp 2020-11-14 10:24:06 +08:00
John
943116d495 appaned parameters to url if http method is GET for ghttp.Client 2020-11-12 20:09:05 +08:00
John
638773b216 improve client dump for package ghttp 2020-11-12 18:57:18 +08:00
John
11e102e137 fix issue in internal/structs.MapField 2020-11-08 16:21:09 +08:00
John
e06b62ecf2 add default value from struct tag for ghttp.Request 2020-11-08 15:44:04 +08:00
John
cee67a8d4e improve urlencoding handling for parameters posted along with file uploading 2020-10-26 20:21:09 +08:00
Jack
9c3b978b50 improve package ghttp and internal/structs 2020-10-22 15:16:31 +08:00
Jack
77f7884604 add function gutil.Try/g.Try;improve error string for gconv.Struct 2020-10-20 13:36:43 +08:00
John
0a203d1e22 fix issue in struct converting for ghttp.Request 2020-10-19 11:29:41 +08:00
yuancjun
0b0141954b
Update ghttp_server_config.go 2020-10-15 18:04:32 +08:00
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