Aleksey Kozakov
2cffbeb826
Changed double quotes to single quotes
2016-01-25 16:23:19 +02:00
Aleksey Kozakov
2138667fe7
Changed to single quotes
2016-01-25 16:18:25 +02:00
Aleksey Kozakov
afaa8917cb
The "Host" header is being preserved, if it was set manually.
2016-01-22 12:20:07 +02:00
Michael Dowling
a21d3ccb7e
Merge pull request #1292 from ivank/sink-for-mock-handler
...
Implement "sink" for MockHandler
2015-11-15 01:29:07 -08:00
Michael Dowling
3a0020170b
Merge pull request #1203 from mortenhauberg/master
...
Yield key
2015-11-15 01:27:09 -08:00
Michael Dowling
5c12b74e94
Merge pull request #1286 from daleattree/master
...
https://github.com/guzzle/guzzle/issues/1256
2015-11-15 01:15:37 -08:00
Dale Attree
1d3cfb248a
Set SSL verify peer name to true when verify peer is true.
...
Added test for to assert verify peer name
2015-11-05 21:39:55 +02:00
Ivan Kerin
ae2536bf72
Implement "sink" for MockHandler
2015-10-30 17:56:48 +02:00
Dale Attree
3937279ba1
Update StreamHandlerTest.php
...
Incorrect assertion added
2015-10-27 14:45:27 +02:00
Michael Dowling
0a966bbe9c
Message tweaks and adding truncation notice
2015-10-26 21:03:44 -07:00
Michael Dowling
1654679ba0
Merge remote-tracking branch 'shadowhand/hotfix/improved-middleware-exception' into response-body-exception
2015-10-26 20:47:11 -07:00
Dale Attree
52e099d3ec
https://github.com/guzzle/guzzle/issues/1256
...
Code added to resolve issue 1256
2015-10-21 16:45:15 +02:00
Woody Gilk
5a5893c19f
Switch Middleware to use exception factory
...
The `RequestException::create` factory was not being used anywhere.
Using it inside of `Middleware::httpErrors` simplifies the code and
allows for simpler changes in the future.
Also updates the message formatting of the exception factory to
provide a more complete status, including the body of the response.
2015-10-20 08:43:14 -05:00
EdgarPE
911bcbc8b4
Fix tests for RequestOptions::SYNCHRONOUS check in Proxy::wrapSync()
2015-09-28 10:59:51 +02:00
Daniel Wehner
e464b0198d
Use ::class in tests where it was possible
2015-09-09 11:17:23 +02:00
Michael Dowling
16ccd73eee
Adding tests
2015-09-06 12:51:06 -07:00
Michael Dowling
e881b5ab5b
Adding transfer tests
2015-09-06 12:24:01 -07:00
Michael Dowling
ec1f1a8b56
WIP work on on_stats
2015-09-06 12:11:56 -07:00
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
mortenhauberg
ca3d04d972
Yield key
2015-08-03 09:03:03 +02: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