1
0
mirror of https://github.com/astaxie/beego.git synced 2024-11-23 04:40:53 +00:00
Commit Graph

54 Commits

Author SHA1 Message Date
JessonChan
6c3e274b6e set default timeout 2015-04-26 16:10:18 +08:00
JessonChan
f56bdb6284 set default timeout 2015-04-26 16:08:25 +08:00
JessonChan
d8fa118727 more fixed 2015-04-26 15:42:10 +08:00
JessonChan
0afd04ec6f no need lock here 2015-04-26 15:24:04 +08:00
JessonChan
973306b28d no need defer here 2015-04-26 02:19:38 +08:00
JessonChan
da8c3c3910 zero timeout means wait until resp 2015-04-26 02:17:46 +08:00
JessonChan
0c1bb6409a typo fixed 2015-04-26 02:06:19 +08:00
JessonChan
cddb4fdb60 typo fixed 2015-04-26 02:05:50 +08:00
JessonChan
e1d20aea5d better code and fixed 2015-04-26 02:04:34 +08:00
JessonChan
4498a02c15 better go style 2015-04-26 01:23:18 +08:00
astaxie
ecb27f34e6 no output the dump 2015-04-09 00:18:02 +08:00
astaxie
d55997e520 fix the init struct 2015-04-09 00:12:41 +08:00
astaxie
44c8534477 fix the dump has no body 2015-04-09 00:11:25 +08:00
astaxie
44a39a6b3e fix the params 2015-04-08 23:00:08 +08:00
astaxie
cc5ca458ab add DumpRequest 2015-04-08 22:58:37 +08:00
astaxie
6f6b412709 httplib support gzip 2015-04-08 21:45:00 +08:00
astaxie
642a69de02 add sethost 2015-04-08 20:12:10 +08:00
Hubery
223f57bb4c add JsonBody 2015-03-06 14:12:24 +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
1fei
0269a66940 Update httplib.go
httplib针对的是客户端的http请求,所以应该用"Cookie",而不是"Set_Cookie"
2013-12-19 16:29:46 +08:00