1
0
mirror of https://github.com/guzzle/guzzle.git synced 2025-02-26 11:05:28 +01:00

1005 Commits

Author SHA1 Message Date
Michael Dowling
fb039fec6e Adding test to ensure events are proxied 2013-04-16 13:30:26 -07:00
Michael Dowling
6031303275 Adding events back to CurlMulti and proxying all events 2013-04-16 13:27:11 -07:00
Michael Dowling
21df02bf29 Rethrowing redirect exceptions when a response is not available 2013-04-16 11:18:03 -07:00
Michael Dowling
ebad28f026 Removing all the popsicle sticks from sending requests with curl_multi 2013-04-16 02:43:07 -07:00
Michael Dowling
69e3f83717 Fixing how names are added to models. Closes #298 2013-04-15 13:42:27 -07:00
Michael Dowling
e64ff8e8bc Adding support for CurlFile in PHP 5.5. Closes #296. 2013-04-13 19:52:36 -07:00
Michael Dowling
5e9b3bfdef Trying to ucfirst a command when using the service description command factory 2013-04-13 19:24:12 -07:00
Michael Dowling
24af41160c Merge pull request #294 from fubhy/master
Adjustments for OAuth 1.0a
2013-04-12 15:44:37 -07:00
Sebastian Siemssen
83cc037417 Adding oauth_callback to signature. 2013-04-12 16:28:51 +02:00
Sebastian Siemssen
e9d8a17646 Adding oauth_verifier as required by OAuth 1.0a. 2013-04-12 16:28:14 +02:00
Sebastian Siemssen
13d7dc793d Removing special check for 'oauth_token' now that the check against FALSE has been removed. 2013-04-12 16:15:48 +02:00
Michael Dowling
76f16a1546 Preparing to release 3.4.0 v3.4.0 2013-04-11 22:58:15 -07:00
Michael Dowling
fedb6a83a2 Using a relative path for extracting the cacert so that Guzzle can be embedded in third-party phar files. 2013-04-11 16:42:03 -07:00
Michael Dowling
6664d8a1f6 Adding more information to the error when the phar cacert cannot be copied 2013-04-11 13:03:03 -07:00
Michael Dowling
28452534ca Removing requirement on PHP 5.3.7 for checking ResponseClassInterface. Closes #293 2013-04-11 11:59:49 -07:00
Michael Dowling
258ed3ce5a Updating CHANGELOG 2013-04-10 16:18:24 -07:00
Michael Dowling
4ed6be7256 Why, Travis? 2013-04-10 16:18:24 -07:00
Michael Dowling
99c8f279cf Fixing how errors are aggregated when sending multi transfers. Adding isRedirect() flag to requests. 2013-04-10 16:18:24 -07:00
Michael Dowling
2e18b35677 Merge pull request #291 from Danack/upstream
Moved decision of whether to sign post fields to a function.
2013-04-10 12:35:33 -07:00
Danack
441882dc06 Changed tab to space. 2013-04-10 15:06:58 +01:00
Danack
3c48172a32 Moved decision of whether to sign post fields to a function.
Some non-conformant APIs that have incorrect implementations of Oauth may require this method to be overridden.
2013-04-10 14:43:01 +01:00
Michael Dowling
5378566588 Fixing ReadLimitEntityBody::__toString() when the wrapped body is empty 2013-04-08 15:59:52 -07:00
Michael Dowling
de755baecc Making the default CURLOPT_CONNECTTIMEOUT more forgiving and closer to the default value of 300s 2013-04-08 13:46:42 -07:00
Michael Dowling
10a7b6fe50 Updating changelog 2013-04-08 13:23:16 -07:00
Michael Dowling
cdb1da7d1a Properly merging URLs and removing dot segments based on RFC 3986 section 5.4. Closes #288 and #289. 2013-04-08 13:05:09 -07:00
Michael Dowling
6290b06491 The content-type guessed from an entity body should be favored over the request path content-type guess 2013-04-07 17:02:00 -07:00
Michael Dowling
910a36f4a4 Loosening check for oauth_token. Closes #287. 2013-04-07 12:46:19 -07:00
Michael Dowling
81f85f2a03 Not limiting Content-Type guessing for EnttiyBody to only local streams 2013-04-06 19:35:09 -07:00
Michael Dowling
6f044c5c7e Using the Content-Type of the EntityBody if one cannot be determined by the request path 2013-04-06 17:50:51 -07:00
Michael Dowling
863998bbdb Auto-detecting Content-Type of a request
- A Content-Type header will be added to a request automatically based
  on the path of the request if a Content-Type header was not
  specifically set. Pass `false` to the second parameter of
  EntityEnclosingRequest::setBody() to not auto-detect a value.
- Removing default return value of application/octet-stream from
  EntityBody::getContentType()
2013-04-06 17:36:57 -07:00
Michael Dowling
f745ac2c81 Fixing stream size calculation bug 2013-04-06 11:28:51 -07:00
Michael Dowling
c19e0d56ad Only incrementing the size of a stream when a size was initially set 2013-04-05 16:12:55 -07:00
Michael Dowling
8ecb04187f Adding more connection timeout checks 2013-04-05 10:51:51 -07:00
Michael Dowling
84592d069d Validating the type of value passed to a GET request response body. Addresses #285. 2013-04-05 10:41:20 -07:00
Michael Dowling
e5069d3c3c Updating docblock for preparePharCacert 2013-04-03 15:41:22 -07:00
Michael Dowling
0a764fff33 Renaming cacert.md5 to cacert.pem.md5 2013-04-03 15:34:28 -07:00
Michael Dowling
b99fe0cac8 Adding an MD5 check to the cacert.pem file when using the phar 2013-04-03 15:25:16 -07:00
Michael Dowling
176d928fe4 Renaming additionalProperties to additionalParameters 2013-04-03 13:23:46 -07:00
Michael Dowling
31ccefd2f2 Adding support for additionalProperties for parameters in service descriptions. Addresses #270 2013-04-03 13:23:46 -07:00
Michael Dowling
7437ebe303 Merge branch 'caching_entity_body' 2013-04-03 10:24:54 -07:00
Michael Dowling
cfd7f672e8 Improving the CachingEntityBody
Fixing the stream size of a caching entity body to allow the size to be
the greater of the buffer or remote stream.
Fixing __toString() to properly combine the buffer and remote stream
Skipping bytes written over the remote stream to emulate how other r/w
PHP streams work (you overwrite bytes, you don't insert bytes and push
out things after it).
Using fstat() for local streams rather than loading streams into memory
and getting the strlen() (previously used for temp streams).
2013-04-03 10:24:33 -07:00
Michael Dowling
1e0a4c1b3e Adding tests and fixes to the CachingEntityBody decorator 2013-04-02 12:35:09 -07:00
Michael Dowling
c94eaa8f0c Adding a caching entity body decorator and cleaning up other entity body decorators 2013-04-01 18:22:26 -07:00
Michael Dowling
8ccd3ba7f0 Merge pull request #282 from DarkSide666/master
typo
2013-04-01 15:44:55 -07:00
Imants Horsts
c4c5c9dee2 typo 2013-04-02 01:41:59 +03:00
Michael Dowling
9dc8897140 Using copied cacert when using phar 2013-04-01 10:07:11 -07:00
Michael Dowling
393a110ec0 Updating to curl's latest cacert file 2013-03-31 23:48:14 -07:00
Michael Dowling
a59e5a1695 Adding cacert file to phar and more cert validation
Addresses #280.
2013-03-31 23:35:10 -07:00
Michael Dowling
e1a9a2cee0 Adding pem to PEAR package. Addresses #280. 2013-03-31 21:18:30 -07:00
Michael Dowling
ab8d35fbdf Adding the ability to PURGE requests from the cache. Addresses #241. 2013-03-30 19:18:40 -07:00