1
0
mirror of https://github.com/astaxie/beego.git synced 2024-11-05 12:20:53 +00:00
Commit Graph

78 Commits

Author SHA1 Message Date
Cathal
2eccb23461 Add sleep on reconnect functionality 2020-07-08 17:30:34 +01:00
skanger
eea20f6ceb fix httplib PostFile method 2020-05-16 11:00:15 +08:00
axx
dc5c42e981 httplib:fixes network request failed to create an invalid file and automatically created file directory 2019-12-30 11:24:55 +08:00
astaxie
5ba9e63086
Merge branch 'develop' into feature/YAML 2018-07-20 23:24:51 +08:00
Colstuwjx
b3c46a87ac Fix: correct MaxIdleConnsPerHost value to net/http default 100. 2018-07-05 19:15:42 +08:00
Ruben Cid
7c80bf6f9d Add YAML 2018-05-30 16:06:40 +02:00
Hu Risheng
37d4bb3df5 add XMLBody method for httplib 2017-10-05 14:34:52 -05:00
astaxie
3e29078f68 add check ineffect and gofmt 2017-04-28 21:38:08 +08:00
astaxie
3742d1178c httplib support delete params fix #2593 2017-04-25 20:42:43 +08:00
Sergey Lanzman
37c1ffc57a add go simple support 2017-03-17 20:22:20 +02:00
astaxie
9266ece7a4 fix the retried 2017-01-05 18:27:23 +08:00
astaxie
61e694f388 add retry 2017-01-03 22:50:45 +08:00
lyric
f19ad3fdd3 httplib add CheckRedirect 2016-09-28 18:04:51 +08:00
astaxie
68311b286e gofmt -s -w . 2016-08-17 22:49:30 +08:00
redfoxli
b36afadbdc close socket when http client request over
To avoid a large number of  TIME_WAIT in server which http client talk with
2016-04-22 13:54:55 +08:00
aolu
5e2384e95a fix json extra newline 2016-03-08 17:04:14 +08:00
astaxie
5c18d02b17 fix #1268 2016-01-04 22:41:25 +08:00
astaxie
657995092a golint httplib 2015-09-11 22:28:28 +08:00
astaxie
7aa893612e Merge pull request #1308 from zhangshuai/master
httplib请求参数支持[]string
2015-08-27 22:50:44 +08:00
Shuai
862ea226e5 优化设置参数 2015-08-24 00:16:56 +08:00
Shuai
ff92f22d84 删除Param中的断言 2015-08-18 23:19:24 +08:00
Shuai
860006bfda httplib请求参数支持[]string 2015-08-18 19:28:17 +08:00
astaxie
9107fd8898 remove the default timeout setting 2015-08-17 22:33:28 +08:00
astaxie
b776e43962 merge bat/httplib to httplib 2015-06-13 11:15:13 +08:00
JessonChan
3bd6caae0a set default timeout 2015-05-25 09:10:37 +08:00
JessonChan
d8734cf58d set default timeout 2015-05-25 09:10:37 +08:00
JessonChan
51161361db more fixed 2015-05-25 09:10:37 +08:00
JessonChan
6da0cdb9e2 no need lock here 2015-05-25 09:10:37 +08:00
JessonChan
9f070c622b no need defer here 2015-05-25 09:10:37 +08:00
JessonChan
738e22e389 zero timeout means wait until resp 2015-05-25 09:10:37 +08:00
JessonChan
69fc22f0df typo fixed 2015-05-25 09:10:37 +08:00
JessonChan
4cd7177ece typo fixed 2015-05-25 09:10:37 +08:00
JessonChan
8e618192c2 better code and fixed 2015-05-25 09:10:37 +08:00
JessonChan
3415a5b091 better go style 2015-05-25 09:10:37 +08:00
astaxie
ee4fd60e4d no output the dump 2015-05-25 09:10:36 +08:00
astaxie
4414659df4 fix the init struct 2015-05-25 09:10:36 +08:00
astaxie
68ccd8e5a4 fix the dump has no body 2015-05-25 09:10:36 +08:00
astaxie
6f802b0a05 fix the params 2015-05-25 09:10:36 +08:00
astaxie
743628a946 add DumpRequest 2015-05-25 09:10:36 +08:00
astaxie
d90ce15707 httplib support gzip 2015-05-25 09:10:36 +08:00
astaxie
23457ed2a0 add sethost 2015-05-25 09:10:36 +08:00
Hubery
bf6b0d3e1f add JsonBody 2015-05-25 09:10:34 +08:00
fuxiaohei
29d4823866 code simplify for package httplib 2015-02-23 11:30:59 +08:00
astaxie
57e62e5e57 update the file upload to io.Pipe 2014-10-30 11:16:09 +08:00
astaxie
824e3f8f5b fix the only file upload param 2014-10-29 16:00:08 +08:00
astaxie
647a47517d httplib: fix the header function for User-Agent 2014-09-05 23:21:41 +08:00
JessonChan
c07b1d881b typo fixed 2014-08-23 07:07:12 +08:00
JessonChan
d8f2b05e08 improve the code and delete NO NEED URL CHECK 2014-08-23 07:02:47 +08:00
JessonChan
7b2fe824d5 typo fixed 2014-08-23 06:48:40 +08:00
JessonChan
02301caac1 modify desc 2014-08-23 06:47:42 +08:00