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

2051 Commits

Author SHA1 Message Date
Michael Dowling
b7ea464e5e Allowing query string of a request to be changed 2014-02-16 13:39:16 -08:00
Michael Dowling
ed56f3a935 Removing request event constants 2014-02-16 13:09:34 -08:00
Michael Dowling
f99e7c77a1 Adding request event documentation 2014-02-16 13:01:46 -08:00
Michael Dowling
07c4470bb8 Adding note about signing priority 2014-02-16 12:26:49 -08:00
Michael Dowling
a1a23b11e7 Better defining how the "auth" option works
- Adding more docs and type information
- Defining how auth works and how to create custom auth schemes
- Removing custom auth stuff from the CurlFactory
2014-02-16 12:17:02 -08:00
Michael Dowling
67de97be1f Adding checks to remove default ports from URLs when changing the scheme 2014-02-16 11:13:30 -08:00
Michael Dowling
46a1b91341 Adding the ability to specify protocol proxies
Adding more docs and an example of custom curl options.
2014-02-16 00:13:49 -08:00
Michael Dowling
9d62a557d4 Making it very clear that a client has an event listener prototype for requests 2014-02-15 23:47:49 -08:00
Michael Dowling
b572e3c8df Moving cookie jars, cleaning up expect, adding docs, validating auth schemes. 2014-02-15 23:40:24 -08:00
Diego Agulló
ed3a1a731e Add newly set ServiceDescription objects to CompositeFactory (#565). 2014-02-16 03:08:22 +01:00
Michael Dowling
ba70a0ed3c More event docs updates 2014-02-15 14:40:18 -08:00
Michael Dowling
25a3a5046b Adding more event docs, and passing the emitter to listeners when they are triggered. 2014-02-15 14:15:27 -08:00
Michael Dowling
e801e7796b Renaming client and server response exceptions
- Adding more docs on error handling
- Tightening down the client interface to only allow RequestExceptions to be
  thrown from a client during a send() method. This makes error handling much
  easier and predictable.
2014-02-15 11:59:31 -08:00
Michael Dowling
d5834212e0 Tweaking curl implementation 2014-02-14 18:58:36 -08:00
Michael Dowling
ef245ab292 Moving header parsing static functions to AbstractMessage so that they are more accesible to request and response objects 2014-02-13 23:45:09 -08:00
Michael Dowling
c6cf0c6da2 Updating HTTP method signature to be simpler and more consistent
- HTTP method based signatures like get(), put(), etc.. accept a URL,
  and array of request options. createRequest() is similar but also requires
  a method string.
- Renamed request events to 'before', 'complete', 'error', and 'headers.
- Renamed the associated event classes.
- Adding more docs.
2014-02-13 23:37:34 -08:00
Michael Dowling
f35c07eba4 Reorganizing docs 2014-02-13 20:05:40 -08:00
Michael Dowling
c03449e883 Merge pull request #564 from dlutzy/patch-1
Update CHANGELOG.md
2014-02-13 17:12:10 -08:00
David Lutz
a5d28dec18 Update CHANGELOG.md
Typo on year. It's 2014.
2014-02-14 11:59:54 +11:00
Michael Dowling
ef42e31fc0 Adding more docs 2014-02-13 09:45:42 -08:00
Michael Dowling
7368075cf9 Replacing HeaderValuesInterface with an array and adding docs.
- Instead of using a HeaderValues object for header values, I've added an
optional argument to getHeader() that specifies whether or not to return
a header as a string or an array.
- Adding the start of the new documentation.
2014-02-12 20:07:05 -08:00
Michael Dowling
b4c0948f1e Merge pull request #561 from GrahamCampbell/travis
Travis Improvements
2014-02-12 09:53:56 -08:00
Michael Dowling
bf42ea6f40 Adding test to ensure that a custom parallel_adapter can be specified on a client 2014-02-11 22:55:00 -08:00
Michael Dowling
da9e30f98e Renaming BatchAdapter stuff to ParallelAdapter 2014-02-11 22:51:50 -08:00
Michael Dowling
0c03ac7acd Removing phar specific functionality exception for a check to see if the bundled cacert can be loaded 2014-02-11 22:39:53 -08:00
Michael Dowling
6734da08bd Adding more documentation on when and how request options are used, how adapters are expected to use them, and documenting the request options used by subscribers 2014-02-11 22:10:49 -08:00
Michael Dowling
e66d734d39 Cleaning up URL 2014-02-11 21:19:42 -08:00
Graham Campbell
f0954a896a Attempted travis fix 2014-02-11 20:38:51 +00:00
Graham Campbell
50a892a157 Travis improvements 2014-02-11 20:31:22 +00:00
Michael Dowling
01a5dddefa Merge pull request #544 from guzzle/empty_query_string
Changes empty query string value serialization
2014-02-11 10:14:34 -08:00
Michael Dowling
45e2733bd1 Adding retry tests 2014-02-10 23:40:10 -08:00
Michael Dowling
1f08b4f91f Making the allow_redirects request option more useful and uniform 2014-02-09 23:05:23 -08:00
Michael Dowling
d0e2ceb8aa Fixing formatting issue 2014-02-09 21:10:35 -08:00
Michael Dowling
5d75b172f5 Adding some upgrade notes for the Http namespace 2014-02-09 21:09:42 -08:00
Michael Dowling
7640f1a5df Moving TransactionIterator to Guzzle\Http\Adapter 2014-02-09 19:40:09 -08:00
Michael Dowling
7e8f347e2d Renaming Plugin to Subscriber 2014-02-09 18:20:14 -08:00
Michael Dowling
d18f23e8df Adding some preliminary upgrade instructions 2014-02-09 18:10:20 -08:00
Michael Dowling
b067d89a78 Fixing docblock 2014-02-09 17:06:22 -08:00
Michael Dowling
648bf07929 Adding missing test and ensuring that a request body seeks to 0 before sending 2014-02-09 16:44:46 -08:00
Michael Dowling
d312987183 Adding test to ensure that the fragment is stripped when using curl 2014-02-09 16:36:15 -08:00
Michael Dowling
ce867392eb MessageTrait should really be AbstractMessage 2014-02-09 16:31:57 -08:00
Michael Dowling
4f1e114fe1 Doing a better job of passing custom request options
- Better handling of request options passed from client to messages and
  adapters.
- CurlAdapter now converts string keys that start with CURL to the equivalent
  CURL_* constant value.
- Added a few extension points to requests and the CurlAdapter
2014-02-09 16:05:42 -08:00
Michael Dowling
e43ce6ec5c I would rather not return the Collection directly. Removing invalid docblock tag. 2014-02-09 10:22:17 -08:00
Michael Dowling
5978d6d48b Fixing typo 2014-02-09 10:19:07 -08:00
Michael Dowling
180afc16cf Removing dead code 2014-02-08 18:31:04 -08:00
Michael Dowling
89c07b20bd Not forcing HTTP/1.0 when using the stream adapter and adding Connection: close when a Connection header is not present and using HTTP/1.1 2014-02-08 17:55:10 -08:00
Michael Dowling
86e849838c Sending curl stats when possible in error event and removing reference to no longer used message formatter variable 2014-02-08 17:48:52 -08:00
Michael Dowling
4fcc52db28 Removing curl requirement for creating the user agent. Closes #556 2014-02-08 17:32:31 -08:00
Michael Dowling
0e6a6c3d26 Renaming BackoffPlugin to RetryPlugin and fixing MessageFormatter
RetryPlugin now supports logging retries by intercepting the retry delay
function.

Updated the MessageFormatter to properly log request and response strings.
2014-02-08 17:28:01 -08:00
Michael Dowling
2a2017bef1 Can call functions without call_user_func 2014-02-08 14:52:37 -08:00