1
0
mirror of https://github.com/guzzle/guzzle.git synced 2025-02-25 10:33:18 +01:00

1300 Commits

Author SHA1 Message Date
Michael Dowling
f1f84382d9 Removing a couple of unnecessary checks in curlmulti 2013-07-15 11:54:35 -07:00
Michael Dowling
07c025bc95 Renaming event to better fit with other events 2013-07-14 16:41:45 -07:00
Michael Dowling
003cacda22 Making injecting the result into the event more explicit and automatically stop propagation 2013-07-14 16:29:40 -07:00
Michael Dowling
a83fcd1b4f Adding an event based way to create custom domain models from service description responses 2013-07-14 16:29:40 -07:00
Michael Dowling
713f92dcc2 Merge branch 'master' into cookie-fix 2013-07-14 16:25:23 -07:00
Michael Dowling
a5089fd36c Finishing up the cookie domain matching fixes 2013-07-14 16:24:56 -07:00
Michael Dowling
2c4ece62e1 Merge pull request #381 from guzzle/querystring-guess-aggregator
Guessing when to use DefaultAggregator vs PhpAggregator when parsing que...
2013-07-13 22:32:36 -07:00
Andy Hu
112681f1fa Try it again. When the domain is an IP and is identical from the cookie domain, it should match, however if the cookie domain is something like .127.0.0.1, it shouldn't match 2013-07-14 07:35:01 +08:00
Michael Dowling
78188ed03e Guessing when to use DefaultAggregator vs PhpAggregator when parsing query strings. Address #379 2013-07-13 14:06:46 -07:00
Andy Hu
7c16fb38d2 Removed a test case that won't happen in real world where made #378 failed by testing 2013-07-14 02:55:47 +08:00
Michael Dowling
c87adaa38b dispatch now returns the event that was created 2013-07-13 11:34:41 -07:00
Andy Hu
069b8cd717 Consider an extreme case in the test:
Cookie domain: .127.0.0.1
Actual domain: 127.0.0.1
This cookie shouldn't be matched
2013-07-14 02:16:05 +08:00
Andy Hu
fdd9e4c8f3 #377 fix the issue in matchDomain method 2013-07-14 01:50:36 +08:00
Andy Hu
49ad50059a #377 fix the issue in matchDomain method 2013-07-14 01:46:55 +08:00
Andy Hu
0da5498627 #377 fix the issue in matchDomain method 2013-07-13 18:59:30 +08:00
Michael Dowling
1f33485b6e Merge pull request #374 from Danack/patch-3
Used correct encoding for test setup and expectation.
2013-07-11 16:30:45 -07:00
Michael Dowling
513ce7688b URL encoding paths earlier so that grabbing the path value reflects exactly what will be sent over the wire 2013-07-11 16:16:45 -07:00
Michael Dowling
f2d24d0fbc URL encoding special characters in path when casting a URL to string
Removing unneeded escaping in the PHP-land URI template implementation
Addresses #371
2013-07-11 15:46:03 -07:00
Danack
28a9c22d14 Used correct encoding for test setup and expectation.
The above test was not running for on OSX + 5.4, but was running fine for all versions of Linux.

The issue this changed fixes is:
i) The standard spelling for the encoding is UTF-8 not utf8.
ii) XMLWriter on OSX apparently transparently converts the non-standard spelling to the standard spelling.

That made the test fail on OSX even though it works for Linux machines.
2013-07-11 02:32:02 +01:00
Michael Dowling
dbdc6eaff8 URL encoding spaces when using the PHP-only version of the UriTemplate expander. Closes #371 2013-07-10 15:09:35 -07:00
Michael Dowling
633e706698 Merge pull request #372 from Danack/patch-2
Fixed 'typo'.
2013-07-10 12:37:17 -07:00
Danack
fbc26a60f5 Fixed 'typo'.
I'm almost certain you didn't mean to use a global variable.
2013-07-10 20:36:00 +01:00
Michael Dowling
aa68be2fa3 3.7.1 v3.7.1 2013-07-05 13:17:54 -07:00
Michael Dowling
b1677c0002 Returning false if Guzzle\Http\EntityBody::getContentMd5() fails
Not setting a `Content-MD5` on a command if calculating the Content-MD5 fails via the CommandContentMd5Plugin
2013-07-02 12:53:26 -07:00
Michael Dowling
7949ba06b3 Merge pull request #370 from StanAngeloff/issue/xmlns-in-response-rebased
Response/XmlVisitor cannot accept 'xmlns' in response (rebased)
2013-07-02 09:15:48 -07:00
Stan Angeloff
37df164040 Mark failing test for guzzle/guzzle/#368 as skipped. 2013-07-02 09:19:35 +03:00
Stan Angeloff
09cbdd73c8 Issue: Add failing test for guzzle/guzzle/#368. 2013-07-02 09:19:35 +03:00
Michael Dowling
124e079dfd Using a static array for converting a parameter to an array 2013-07-01 15:03:47 -07:00
Michael Dowling
4c11c0a1e4 Prepping for 3.7.1 2013-06-30 17:40:59 -07:00
Michael Dowling
19c72f2761 Fixing docblock for XmlVisitor 2013-06-30 17:40:34 -07:00
Michael Dowling
1a926cca69 Merge pull request #367 from blongden/patch-1
Update README.md
2013-06-30 16:53:03 -07:00
Ben Longden
2c5e41ad47 Update README.md 2013-06-30 11:21:03 +01:00
Ben Longden
e3b87f7707 Update README.md
Add information about running tests with xdebug enabled.
2013-06-30 11:14:39 +01:00
Michael Dowling
2d86f6188a Tweaking param parsing 2013-06-28 12:13:32 -07:00
Michael Dowling
1d401b472e Merge remote-tracking branch 'blongden/master' 2013-06-28 12:10:05 -07:00
Ben Longden
13178c36b0 Fixes todo on splitting headers by ';' 2013-06-28 17:31:37 +01:00
Michael Dowling
db39c98b3e Breaking some methods out for easier extension of response parsing. Addresses #355 2013-06-27 21:05:15 -07:00
Michael Dowling
fc775da5bd Removing the allowing of failures for 5.5 2013-06-27 13:08:12 -07:00
Michael Dowling
ab1841e419 One more fix 2013-06-27 13:01:08 -07:00
Michael Dowling
22656110c5 More test fixes for 5.5 2013-06-27 12:02:33 -07:00
Michael Dowling
4a0e78f709 Another typo fix 2013-06-27 11:53:44 -07:00
Michael Dowling
959d97e39f Fixing test 2013-06-27 11:45:39 -07:00
Michael Dowling
ae02d17866 Trying to fix php 5.5 tests 2013-06-27 11:33:14 -07:00
Michael Dowling
6097cb948c Merge pull request #365 from stloyd/patch-1
Add PHP 5.5 for easier fixing potential issues
2013-06-27 11:20:30 -07:00
Joseph Bielawski
7ce70e70d2 Add PHP 5.5 for easier fixing potential issues
Changed version of `pecl_http` to prevent issues in compilation with PHP 5.5
2013-06-27 20:07:01 +02:00
Michael Dowling
969dd07a3d Nope 2013-06-27 10:22:56 -07:00
Ben Longden
c43b822e02 Adds test to Header parseParams 2013-06-27 18:12:44 +01:00
Michael Dowling
fe257fd6e6 Adding PHP 5.5? 2013-06-27 10:12:34 -07:00
Ben Longden
d546fa9670 Adds test for URL containing '=' 2013-06-27 18:06:10 +01:00
Ben Longden
7022f28818 Allows free format for headers
Only split on '=' if it is not contained within an angle bracket pair
[<>]. This allows for compatibility with headers like Cache-Control
which do not specify a semi colon before key value pairs whilst still
being able to parse the Link header correctly.
2013-06-27 17:45:21 +01:00