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
Michael Dowling
99c22f4c0b
Removing custom exception. Fixing tests for PHP 5.3
2013-10-02 12:55:17 -07:00
Adrian Slade
362749b0d3
Allow 0 as a value in command arguments.
2013-10-02 17:50:22 +01:00
BruceWouaigne
ca32380394
Refactor and add InvalidMethodException
2013-09-30 10:48:29 +02:00
BruceWouaigne
40650bfd11
Oauth plugin: Add query string method (in addition to Authorization header) to request the Service Provider
2013-09-27 15:15:23 +02:00
Michael Dowling
650dc29567
Fixing url dot segment removal
2013-09-20 15:05:53 -07:00
Michael Dowling
13734d449f
Expliclty disabling loading of external XML entities when using the xml() method a response. Closes #418 .
2013-09-13 13:31:58 -07:00
Michael Dowling
03ebadab3c
Fixing SchemaFormatter to output an integer when formatting for a unix timestamp
2013-09-12 16:56:01 -07:00
Michael Dowling
1442ad1112
Merge pull request #417 from hakre/patch-2
...
ChunkedIterator for Traversable
2013-09-08 11:35:07 -07:00
hakre
756d5aaa51
ChunkedIterator tests for boundary cases and and below zero.
2013-09-08 12:24:38 +02:00
hakre
875452a58b
ChunkedIterator for Traversable - Regression Test
2013-09-08 10:48:24 +02:00
Konstantin Pelepelin
6c23278598
Removed guessing of request body content type by request path. Reverts part of 863998bb.
2013-09-06 15:34:26 +04:00
Konstantin Pelepelin
ac6f395cc9
Changed test to show XMLVisitorTest::testSerializesXml fail
2013-09-06 15:34:15 +04:00
Konstantin Pelepelin
ae64de0adb
Changed test to show JsonVisitorTest::testAddsJsonHeader fail
2013-09-06 15:33:33 +04:00
Michael Dowling
a909b0b464
Only injecting schema in models when specified in OperationResponseParser constructor. Models still always return a Parameter object when calling getStructure(), but this cleans up var_dump and var_export for most use cases. Closes #402
2013-08-29 13:27:53 -07:00
Michael Dowling
647cd469ce
Making mimetype guessing case-insensitive
2013-08-27 21:14:17 -07:00
Michael Dowling
efef3c2906
Only exploding on header glue when not inside of a comma. Closes #411
2013-08-24 19:15:08 -07:00
Nathaniel McHugh
d7ff10c97d
Visit children who have xmlAttribue first when building up xml
2013-08-23 11:06:12 +01:00
Artur Bodera
1c023cabd7
Fix #399
2013-08-14 20:41:36 +02:00
Michael Dowling
45fbe6ef8d
Merge pull request #391 from bronze1man/pr-file-mode
...
fix some files mode bug 755->644 on master branch
2013-08-06 20:07:47 -07:00
Michael Dowling
4c6ba3ba6b
Tidying up the exception updates
2013-08-06 12:41:02 -07:00
Michael Dowling
81e9b6f1d7
Fixing file open mode in stream test
2013-08-06 09:55:57 -07:00
bronze1man
1ca1c196be
fix some files mode bug 755->644
2013-08-06 19:03:44 +08:00
Michael Dowling
edb9816c59
CS cleanup
2013-07-24 14:43:10 -07:00
Michael Dowling
195f8458b7
Merge remote-tracking branch 'danack/OauthOptionalVariables'
2013-07-24 14:36:10 -07:00
Michael Dowling
a9e33bf5b3
Cleaning some of the curl_multi implementation and related tests
2013-07-24 14:34:37 -07:00
Danack
97802d7c63
Spelling typo.
2013-07-24 15:39:27 +01:00
Danack
93777f80b8
Fixed issue where request params were being copied to the Authorization header.
...
Reverted test to remove incorrect strings, but left order be flexible.
2013-07-24 15:23:00 +01:00
Danack
af5e05a586
Removed duplicate code for getting params to sign.
...
Made optional params only be signed if they have been set in the config, and not null by default.
Added test to check that optional params have not been added if they were not set in the config for the OauthPlugin.
2013-07-24 02:50:19 +01:00
Danack
f5b5b3b77f
Fixed broken test. Get parameters should be used to make to the signature.
...
http://oauth.net/core/1.0a/#anchor13
9.1.1. Normalize Request Parameters
The request parameters are collected, sorted and concatenated into a normalized string:
HTTP GET parameters added to the URLs in the query part (as defined by [RFC3986] section 3).
2013-07-24 01:35:37 +01:00
Julius Beckmann
97638f0f22
Added a Test with disabled exceptions, but a request.error listener at the client.
2013-07-18 22:15:26 +02:00
Michael Dowling
d7d77e6747
Moving perf endpoint to guzzle-server. Updating server controls
2013-07-16 14:15:25 -07:00
Michael Dowling
3c89382daf
Fixing content-length for test server perf response
2013-07-15 23:14:41 -07:00
Michael Dowling
92d0ffa449
Updating perf serve to consume input string
2013-07-15 22:07:34 -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
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
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
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
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
Stan Angeloff
37df164040
Mark failing test for guzzle/guzzle/#368 as skipped.
2013-07-02 09:19:35 +03:00