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
Stan Angeloff
09cbdd73c8
Issue: Add failing test for guzzle/guzzle/#368.
2013-07-02 09:19:35 +03: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
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
Ben Longden
c43b822e02
Adds test to Header parseParams
2013-06-27 18:12:44 +01:00
Ben Longden
d546fa9670
Adds test for URL containing '='
2013-06-27 18:06:10 +01:00