Michael Dowling
2e92238902
Finishing the redirect tracking PR
2015-09-06 12:05:56 -07:00
Michael Dowling
134fb899d2
CS fixes
2015-09-06 11:44:21 -07:00
Michael Dowling
362dd6864c
Merge remote-tracking branch 'dawehner/redirect-history' into redirect-history
...
Conflicts:
tests/RedirectMiddlewareTest.php
2015-09-06 11:43:02 -07:00
stefan.r
aef23611dd
If the name string is empty but not 0, ignore the set-cookie-string entirely
2015-09-06 18:03:37 +02:00
Michael Dowling
33af93ab4b
Merge pull request #1232 from spyric/bad_cookie
...
Fix incorrect equal sign in cookie value
2015-09-01 16:14:13 -07:00
Gintautas Miselis
594e39fd8c
Added test for cookie name with square brackets
2015-09-01 21:59:56 +01:00
Gintautas Miselis
72e1d73c68
Allow square brackets in cookie name #1205
2015-09-01 21:56:34 +01:00
Егор Таланцев
9a161432e4
+ fails test
2015-08-28 14:36:24 +05:00
Michael Dowling
36e021d6f2
Merge pull request #1221 from BostjanOb/master
...
Fix changing curl options
2015-08-24 10:09:43 -07:00
Tobias Schultze
49eb7526d6
Fix UriTemplate does not have constructor args
2015-08-24 04:21:13 +02:00
Bostjan Oblak
12fe5b4a9e
Fix changing curl options
2015-08-18 12:24:44 +02:00
Michael Dowling
d687700d60
Cleaning up no_proxy support
2015-08-15 13:48:15 -07:00
Michael Dowling
cae1fec097
Merge remote-tracking branch 'fbeisse/feature/no_proxy' into no_proxy
2015-08-15 13:02:58 -07:00
Michael Dowling
1c580201c3
Merge pull request #1195 from kmorozov/SessionCookieFix
...
Session cookie fix
2015-08-15 12:52:06 -07:00
Maks3w
3bfcf395b6
Fill Content-Type header when multipart body is explicit set
...
When custom crafted requests are created Content-Type is not automatically filled like was done in multipart option
2015-08-14 18:20:45 +02:00
Kirill
122ec49147
forgot to remove unneeded test.
2015-08-12 09:49:44 -04:00
Kirill
80e71a2429
fixed if -> ( spacing. Also added data-providers for the new tests.
2015-08-12 09:48:58 -04:00
Takuya Sato
5df49f09a6
add remove Authorization header on redirect tests
2015-08-06 14:51:23 +09:00
Daniel Wehner
991ec647f1
Add a redirect history
2015-07-30 18:54:50 +02:00
Kirill
4880875daf
forgot to remove an assert that I wrapped in if/else.
2015-07-30 10:11:31 -04:00
Kirill
e38c85f3d7
Forgot $this in method calls.
2015-07-30 09:59:59 -04:00
Kirill
81721b0f52
fixed spacing, line width and formatting. Added tests to check on the session cookie flag.
2015-07-30 09:16:20 -04:00
fred
234e813cc9
Add support to sundomains and wilcards
2015-07-30 12:51:16 +02:00
Michael Dowling
6692db3cda
Fixing cookie path matching. Closes #1129
2015-07-29 21:48:33 -07:00
fred
0f7a46213c
Allow guzzle to read environment NO_PROXY variable
2015-07-28 20:00:04 +02:00
Michael Dowling
7420318951
Do not strip quotes when parsing cookies. Closes #1172
2015-07-27 22:23:47 -07:00
Jonathan Eskew
f9614178a7
PrepareBodyMiddleware will handle content-length when non-zero; just handle the zero case
2015-07-22 18:26:45 -07:00
Jonathan Eskew
1bf94e4f80
Add content-length header to outgoing requests if not supplied
2015-07-22 17:27:13 -07:00
Michael Dowling
3416e6108e
Adding on_redirect. Addresses #1166
2015-07-09 20:03:23 -07:00
Konstantin Kopachev
8114c93801
Force form_params to use & as fields separator
2015-07-07 17:41:33 -07:00
Michael Dowling
ddb0b857ca
Merge remote-tracking branch 'ajgarlag/decoded-content-length' into content-length
2015-07-04 12:08:36 -07:00
Zaghdoudi Amine
a5ee11c332
add http method in message of request Exception
2015-07-02 11:54:49 +02:00
Michael Dowling
66737d2024
Merge pull request #1143 from hussainweb/master
...
Support HHVM. See if CURLOPT_PROTOCOLS is defined before using it and other HHVM errors.
2015-06-30 13:37:09 -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
9c43893a8e
Merge pull request #1131 from sagikazarmark/fix/cookie-name
...
Fix invalid character regex
2015-06-24 18:00:39 -07:00
Michael Dowling
811c11a4e8
Fixing test
2015-06-24 13:06:42 -07:00
Michael Dowling
d3ae72676a
Merge remote-tracking branch 'ged15/master'
2015-06-24 13:05:29 -07:00
Sági-Kazár Márk
820de92dd7
Fix exception tests
2015-06-24 18:11:32 +02:00
Michael Dowling
0da18ca665
Trying to fix test on Travis
2015-06-13 19:43:56 -07:00
Michael Dowling
861d2da555
Fixing common log format. Adding date_* format patterns. Closes #1122
2015-06-13 17:00:31 -07:00
Gediminas Šedbaras
b2e92a9007
failing test for merging Uris using $client->request
2015-06-10 21:08:40 +02:00
Michael Dowling
175f773ed1
form_param and multipart error message
...
Closes #1113
2015-06-09 17:56:14 -07:00
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
Michael Dowling
6d2bab840c
Ensure that cookies are extracted before redirects
...
Fixes #1090 . Added a test.
2015-06-01 15:51:39 -07:00
Jared Markell
7314eeac52
Allow custom log levels for logging middleware.
2015-05-29 12:02:54 -07: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
6f3db1618e
Fixing nested query strings
2015-05-27 09:53:46 -07:00
Michael Dowling
a252cb4bcf
Updating exceptions
2015-05-26 10:14:51 -07:00
Michael Dowling
1cb0535933
Renaming getDefaultOption to getConfig. No longer removing the handler from the config. Allowing the handler to be overridden in request options
2015-05-20 17:34:14 -07:00