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

740 Commits

Author SHA1 Message Date
Michael Dowling
246cd09118 Merge pull request #550 from kkopachev/rfc6265-cookie-path
RFC6265 compliant cookie default path and path mathing
2014-02-07 11:57:56 -08:00
Konstantin Kopachev
9617693d63 Implement cookie path matching algo described in RFC6265 s5.1.4 2014-02-07 10:36:58 -08:00
Pascal Borreli
6b21f3c25b Fixed typos 2014-02-06 20:23:57 +00:00
Konstantin Kopachev
2bc6f68f8d Add expected error string for ubuntu systems 2014-02-05 10:50:30 -08:00
Konstantin Kopachev
737166ec8a Skip invalid json decode test if non-strict decoder presented 2014-02-05 10:43:37 -08:00
Konstantin Kopachev
a0de0b8ef5 Compute the default cookie path as described in RFC6265 2014-02-05 10:29:46 -08:00
Michael Dowling
476bfb12ac Guarding against the case of a cookie with the same name but with different attributes like domain, path, etc... 2014-02-04 22:00:12 -08:00
Michael Dowling
190bb2bd76 Merge remote-tracking branch 'unixo/master' into remove_empty_cookie 2014-02-04 21:40:10 -08:00
Ferruccio Vitale
805b34a872 Added test for empty-cookies removal 2014-02-04 09:20:28 +01:00
Michael Dowling
6a86b5410a Reversing the if logic in addPath 2014-02-03 23:42:32 -08:00
Jamie Hannaford
3424cc47cb Only allow strings to be passed as path arg, but allow for "0" 2014-01-30 09:56:56 +01:00
Jamie Hannaford
17b483600d Allows for 0 integers to be added as URL paths 2014-01-29 16:47:38 +01:00
Michael Dowling
1cad576525 Adding Connection: close when using HTTP/1.1 and PHP streams 2014-01-28 14:14:17 -08:00
Michael Dowling
028195b32b Escaping the regex delimiter when matching Cookie domains. Closes #526. 2014-01-23 10:29:07 -08:00
Michael Dowling
cd97afb9dd Setting empty query string values that contain no "=" to the special blank string so that it is represented correctly as a string. Closes 529. 2014-01-15 15:31:19 -08:00
Michael Dowling
da029747d8 Merge pull request #524 from christeredvartsen/set-mock-response-fix
Allow a single instance of a Response object to be set as the next mocked response
2014-01-09 13:31:09 -08:00
Christer Edvartsen
aef2879c45 Allow a single instance of a Response object to be set as the next mocked response 2014-01-09 22:22:48 +01:00
Graham Campbell
d5401f2eca Whitespace fixes 2014-01-08 00:02:38 +00:00
Michael Dowling
4fb10faa3c Skip and log the failing XML entity test until I can figure out why Travis does not fail but my dev environment does. 2014-01-03 14:47:01 -08:00
Michael Dowling
870b87d419 Merge pull request #514 from guzzle/merging_query_overwrites_aggregator
Merging one URL onto another when not using strict RFC 3986 compliance
2014-01-03 14:15:39 -08:00
Michael Dowling
f4b56d4fbe Merge pull request #512 from guzzle/stack-trace-multi
Adding more information to ExceptionCollection exceptions
2014-01-03 14:14:48 -08:00
Michael Dowling
a372cac9ed Merging one URL onto another when not using strict RFC 3986 compliance
will now replace the current query string of the URL with the merged in
query string, causing query aggregators to be replaced.
Closes #489. Closes #511.
2014-01-02 20:43:45 -08:00
Michael Dowling
697c0b676d Updating the resolving of "$ref" attributes in schemas to merge in any
existing properties underneath the "$ref" schema. Closes #501.
2014-01-02 20:05:46 -08:00
Michael Dowling
685a7fda08 Adding more information to ExceptionCollection exceptions so that users have more context, including a stack trace of each sub-exception 2014-01-02 15:55:19 -08:00
Michael Dowling
678100e507 Allowing the body of a request to be "0". Closes #504 2014-01-02 13:17:53 -08:00
Peter Kruithof
ec23112723 Set RedirectPlugin to use strict RFC 3986 compliance 2013-12-31 10:53:38 +01:00
kenden
83d982ba77 Setting CURLOPT_SSL_VERIFYHOST to 0 when certificateAuthority is false to match documentation
When $certificateAuthority is False,
the documentation for setSslVerification() in the Interface, at:
https://github.com/guzzle/guzzle/blob/master/src/Guzzle/Http/ClientInterface.php
says:
"Setting $certificateAuthority to FALSE will turn off peer verification, unset the bundled cacert.pem, and disable host verification."

Also fixing test unit
2013-12-18 16:41:02 +01:00
Dana Desrosiers
a80e256958 Added tests to verify that 303 redirects use GET. 2013-12-08 18:43:27 -08:00
Michael Dowling
d818788776 Using a shutdown function rather than a destructor to terminate the test server 2013-12-05 10:29:34 -08:00
Michael Dowling
e7ba087905 Merge remote-tracking branch 'travelton/PostNameFix' 2013-12-04 14:18:47 -08:00
Michael Dowling
03e0ac9622 Adding additionalProperites to JSON response parsing 2013-12-03 17:39:15 -08:00
Travis Swientek
758f12dbd5 Added ability to define PostName. Fixes #442
Moved postname parameter to end of parameter list. Moved basename logic to constructor.

Fixed tests.
2013-11-21 23:24:46 -08:00
Michael Dowling
5ad7211ee4 Greatly trimming up phing tasks, travis config, and killing server after tests. Addresses #469 2013-11-21 13:55:02 -08:00
Michael Dowling
b98389ea31 Merge remote-tracking branch 'schmittjoh/urlRegression' into fixurlRegression 2013-11-21 12:45:14 -08:00
Michael Dowling
8a99fafe81 Fixing inconsistent test dealing with cookie expiration timestamps. Addresses #474 2013-11-21 12:02:50 -08:00
Johannes M. Schmitt
05d2520479 fixes a regression introduced in recent versions 2013-11-20 14:52:13 +01:00
Michael Dowling
ef23605ec8 Merge pull request #452 from loonytoons/command-validation
Adding method to abstract command to return validation errors
2013-11-14 12:22:16 -08:00
Michael Dowling
a280594ffb Cleaning up phar, test bootstrap, and loading build.properties.dist by default. 2013-11-02 14:40:25 -07:00
Michael Dowling
4e9e345e32 Making the debug option show verbose cURL output 2013-11-01 15:43:11 -07:00
Michael Dowling
dce714875e Merge pull request #457 from Thinkscape/curl-error-url-with-fragment
Fix #453 - curl error when url contains #fragment.
2013-10-30 13:42:33 -07:00
Artur Bodera
7959472c23 Fix curl error when url contains #fragment. 2013-10-30 11:17:06 +01:00
Michael Dowling
774ac3d9db Merge remote-tracking branch 'thinkscape/hotfix/malformed-header-notice' 2013-10-29 19:49:06 -07:00
Michael Dowling
128857eed9 Fixing test for PHP 5.4 2013-10-29 14:36:33 -07:00
Artur Bodera
d78b10c96a Fix E_NOTICE on Header::parseParams() with empty text. 2013-10-29 14:47:50 +01:00
Alex Luneburg
c219744e33 Adding method to abstract command to return validation errors 2013-10-29 09:27:41 +00:00
Michael Dowling
f55958209a Adding the option to combine URLs using strict RFC 3986 compliance while maintaining backwards compatibility with the erroneous way that Guzzle had previously implemented 2013-10-23 18:10:21 -07:00
Michael Dowling
19bdf899c9 Merge remote-tracking branch 'natmchugh/master' 2013-10-23 16:53:08 -07:00
Artur Bodera
4ceb7fe888 Add tests. 2013-10-16 00:46:54 +02:00
Nathaniel McHugh
37357d3a74 add setRegex method as described in the docs 2013-10-04 23:08:03 +01:00
Michael Dowling
dd22735666 Merge branch 'allow-0-value-in-command-arguments' 2013-10-02 13:32:40 -07:00