Aliaksandr Valialkin
|
52ddf98cfd
|
Fixed golint warnings
|
2016-01-19 12:43:23 +02:00 |
|
Aliaksandr Valialkin
|
81b5321d14
|
Removed misleading ConnectionCloseReal method from RequestHeader
|
2016-01-17 00:43:34 +02:00 |
|
Aliaksandr Valialkin
|
92b182c4b1
|
Added ability to limit the maximum connection duration in HostClient
|
2016-01-13 14:06:05 +02:00 |
|
Aliaksandr Valialkin
|
c8f577c7f1
|
Added ability to balance requests among multiple upstream hosts via HostClient
|
2016-01-12 11:08:24 +02:00 |
|
Aliaksandr Valialkin
|
84e14eb376
|
Reduced test time for TestClientManyServers
|
2015-12-25 12:24:40 +02:00 |
|
Aliaksandr Valialkin
|
052a3cfb65
|
Substitute EqualBytesStr(s, b) by string(b) == s
|
2015-12-19 20:44:01 +02:00 |
|
Aliaksandr Valialkin
|
f520ed8177
|
Follow-up tests after the pull request #19: added missing tests
|
2015-12-16 20:00:17 +02:00 |
|
Aliaksandr Valialkin
|
7e906e240d
|
Made TestClientFollowRedirects more robust by adding timeout on Get
|
2015-11-30 20:39:54 +02:00 |
|
Aliaksandr Valialkin
|
8563a2e762
|
Follow redirects in client Get* and Post* methods. Added Redirect method to RequestCtx.
|
2015-11-28 14:47:19 +02:00 |
|
Aliaksandr Valialkin
|
0b2690febe
|
Added GetTimeout method to client
|
2015-11-25 13:45:34 +02:00 |
|
Aliaksandr Valialkin
|
48c0f89ee7
|
Added Stringer implementations to URI, Args and Cookie
|
2015-11-19 12:51:34 +02:00 |
|
Aliaksandr Valialkin
|
5c3b0287db
|
API simplification: SetResponseBody -> SetBody
|
2015-11-18 13:33:29 +02:00 |
|
Aliaksandr Valialkin
|
f1f78f0828
|
Hide Request.URI and Request.PostArgs behind accessors, which automatically call parse URI and PostArgs on first access
|
2015-11-15 23:47:22 +02:00 |
|
Aliaksandr Valialkin
|
8aef785c1e
|
Added DoTimeout() to client
|
2015-11-14 23:18:52 +02:00 |
|
Aliaksandr Valialkin
|
1f531237c2
|
allow nil response in Do() and nil Args in Post()
|
2015-11-14 22:16:05 +02:00 |
|
Aliaksandr Valialkin
|
734c1a311b
|
Retry idempotent requests on failure
|
2015-11-14 20:09:49 +02:00 |
|
Aliaksandr Valialkin
|
f8bfa12215
|
Added Post() method to client
|
2015-11-13 16:13:22 +02:00 |
|
Aliaksandr Valialkin
|
25eefed74c
|
Test concurrent access to http and https servers
|
2015-11-13 13:51:21 +02:00 |
|
Aliaksandr Valialkin
|
b81ce4977b
|
Added https support to client
|
2015-11-12 21:42:16 +02:00 |
|
Aliaksandr Valialkin
|
e7ed62d38f
|
Added client test for multi-server setup
|
2015-11-12 20:32:00 +02:00 |
|
Aliaksandr Valialkin
|
af69d3830f
|
Added initial tests for Client
|
2015-11-12 20:23:57 +02:00 |
|
Aliaksandr Valialkin
|
ad3c1b72d8
|
Added basic tests for HostClient
|
2015-11-12 20:09:21 +02:00 |
|
Aliaksandr Valialkin
|
d30241c539
|
Added Get() to http client
|
2015-11-11 20:00:08 +02:00 |
|
Aliaksandr Valialkin
|
6bb8d1108f
|
Initial implementation of http client
|
2015-11-11 19:17:51 +02:00 |
|