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

55 Commits

Author SHA1 Message Date
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
JessonChan
485c2e865c bug fixed 2014-08-22 17:43:05 +08:00
JessonChan
b390667374 Merge remote-tracking branch 'upstream/develop' into develop
Conflicts:
	httplib/httplib.go
2014-08-22 17:39:57 +08:00
jessonchan
f684de2385 fixed bug-request dump too early 2014-08-22 17:12:46 +08:00
astaxie
35b4022ee0 httplib: set the default proto 2014-08-22 17:03:56 +08:00
jessonchan
7b39bd7042 refactor 2014-08-22 16:43:42 +08:00
smallfish
9a583323a8 Add SetBasicAuth function for HTTP Auth 2014-08-20 23:36:58 +08:00
smallfish
c16b7be9ac rollback the ToFile func implement, and add testcase 2014-08-18 21:29:45 +08:00
smallfish
de87529387 Update httplib support read data from response buffer, add some testcases 2014-08-18 21:01:49 +08:00
astaxie
724137e605 Merge branch 'master' into develop 2014-08-18 16:42:16 +08:00
astaxie
a144769515 update the documents & comments 2014-08-18 16:41:43 +08:00
astaxie
05089be427 Merge pull request #749 from smallfish/master
rename SetAgent and ToXML, and update some testcase
2014-08-18 15:07:11 +08:00
smallfish
86752a55b6 rename SetAgent and ToXML 2014-08-18 15:03:10 +08:00
astaxie
8b8638c507 Merge pull request #748 from smallfish/master
Remove some unnecessary code
2014-08-17 21:36:10 +08:00
smallfish
d27c5c8daf Remove some unnecessary code 2014-08-17 21:13:29 +08: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
CurveSoft
bd537554ea 1.gofmt httplib.go httplib_test.go
2.replace test url to http://httpbin.org functions
2014-06-04 21:04:50 +08:00
CurveSoft
ebb3b91df9 1、增加cookiejar支持
2、增加Setting结构,便于统一设置请求参数
3、增加服务端测试php脚本
2014-06-03 21:20:10 +08:00
toby.zxj
f4e7d63e65 httplib support to set the protocol version for incoming requests 2014-05-17 02:26:51 +08:00
astaxie
14688f240f httplib:support file upload 2014-05-17 02:26:51 +08:00
astaxie
c188cbbcb4 update all files License 2014-05-17 02:26:50 +08:00
slene
828235b4c1 httplib support set transport and proxy 2014-03-12 15:56:04 +08:00
傅小黑
cb876268b5 add comments for httplib package. 2013-12-27 17:11:39 +08:00