Michael Dowling
ddb0b857ca
Merge remote-tracking branch 'ajgarlag/decoded-content-length' into content-length
2015-07-04 12:08:36 -07:00
hw
690f7af914
Fix failure with HHVM in MockHandlerTest::testCanEnqueueCallables() due to difference in how HHVM handles parameters.
2015-06-25 11:10:28 +05:30
Michael Dowling
a1c986a4bc
Adding an easier way to create a mock handler that uses default middlewares
2015-06-03 12:13:27 -07:00
Antonio J. García Lagar
33921a4f1b
Fix content-length and content-encoding headers when decoding body content.
2015-06-02 18:20:33 +02:00
Antonio J. García Lagar
41d99927e8
Test content-length and content-encoding with gzipped response
...
When the upstream response is transfered gzipped, we must test that
the returned response has valid content-length and content-encoding
for the returned body.
2015-05-28 18:04:20 +02:00
Michael Dowling
f924ea6011
Cleanup and adding test
2015-04-30 01:03:35 -07:00
Michael Dowling
15557b1523
Refactoring to support the "on_headers" option
2015-04-30 00:59:01 -07:00
Michael Dowling
a121e36d76
Fixing content-length issue
2015-04-28 10:10:13 -07:00
Michael Dowling
8f3219abd0
Test fix
2015-04-26 22:31:07 -07:00
Michael Dowling
f5df0bcdfa
Reusing handles to improve perf (even for curl multi)
2015-04-26 20:05:23 -07:00
Michael Dowling
abd33b9034
Removing maxHandles from CurlMulti. May add queueing in the future
2015-04-26 13:08:10 -07:00
Michael Dowling
a043a2414a
Cleaning up curl integration
2015-04-26 12:40:53 -07:00
Michael Dowling
251954e092
Adding handler context to request exceptions
2015-04-25 15:03:28 -07:00
Michael Dowling
64f11b1219
Ensuring the file can be created before giving to curl
2015-04-25 13:25:30 -07:00
Michael Dowling
fd095f0f68
PSR-7 updates
2015-04-19 20:39:53 -07:00
Michael Dowling
1052cb23c8
Using async promise resolution.
2015-04-15 00:05:09 -07:00
Michael Dowling
363b8b44af
Test fixes
2015-03-29 18:11:09 -07:00
Michael Dowling
0949947ee2
Updating docs
2015-03-28 15:33:35 -07:00
Michael Dowling
712c917843
Removing extra line
2015-03-28 14:32:54 -07:00
Michael Dowling
5c9cde3921
Throws OutOfBoundsException when no more in queue
2015-03-28 14:32:30 -07:00
Michael Dowling
aab03d40c5
Unrolling switch
2015-03-26 10:34:02 -07:00
Michael Dowling
0a3065ea46
CurlFactory tests
2015-03-26 00:30:14 -07:00
Michael Dowling
453a53767e
Adding CurlMultiHandler test
2015-03-23 22:41:58 -07:00
Michael Dowling
531cf16905
Adding CurlHandler tests
2015-03-23 21:13:28 -07:00
Michael Dowling
fe13b4e663
StreamHandler tests
2015-03-23 20:33:21 -07:00
Michael Dowling
650b4c0430
Adding StreamHandler tests and updates
2015-03-23 00:16:44 -07:00
Michael Dowling
8e546cc843
Adding proxy tests
2015-03-22 20:25:18 -07:00
Michael Dowling
78ccbfb164
Adding MockHandler tests
2015-03-22 20:19:33 -07:00