1
0
mirror of https://github.com/guzzle/guzzle.git synced 2025-02-26 19:15:10 +01:00

883 Commits

Author SHA1 Message Date
thewilkybarkid
76f7287322 Store cached responses for longer, allowing stales to be served 2013-02-27 11:21:20 +00:00
Michael Dowling
81d15dd3e0 Merge pull request #247 from thewilkybarkid/cache-debug-headers
Cache debug headers
2013-02-26 10:30:03 -08:00
Michael Dowling
28ae2d7240 Merge pull request #246 from thewilkybarkid/is_fresh
Response is only stale if the age is greater than the max-age
2013-02-26 10:26:53 -08:00
thewilkybarkid
7d25f3f9cd Reuse existing variable 2013-02-26 08:18:59 +00:00
thewilkybarkid
41df91d352 Add Via headers to requests/responses going through the cache plugin 2013-02-25 12:46:24 +00:00
thewilkybarkid
7b10768a4c Add X-Cache and X-Cache-Lookup headers to responses 2013-02-25 12:40:46 +00:00
thewilkybarkid
e91bf037ce Response is only stale if the age is greater than the max-age 2013-02-25 11:12:27 +00:00
Michael Dowling
bc2a86d1b1 Allowing more return types from the Response::json() method. Closes #244 2013-02-24 19:38:40 -08:00
Michael Dowling
9ed3dcc413 Tuning request JsonVisitor 2013-02-23 19:42:51 -08:00
Michael Dowling
8dd378d2c3 Shortening if statement and not using a clone of the query string when combining URLs 2013-02-23 19:11:20 -08:00
Michael Dowling
cb8e0c7ea6 Optimizing if statement when creating client requests 2013-02-23 18:53:23 -08:00
Michael Dowling
9621c17941 Fixing mistake made in d697838875c9acb439773e6394015db956ca3f51 2013-02-23 18:48:59 -08:00
Michael Dowling
b2b91adaa6 Cleaning up RequestFactory::create() 2013-02-23 17:42:25 -08:00
Michael Dowling
d697838875 Using replace rather than merge when parsing curl option settings 2013-02-23 17:33:43 -08:00
Michael Dowling
66d7d581da Optimizing Url constructor 2013-02-23 15:41:55 -08:00
Michael Dowling
0234efc6e1 Not converting stream wrapper and type to lowercase 2013-02-23 15:35:22 -08:00
Michael Dowling
47781a95b8 Only doing fwrite and rewind in stream factory when data is present 2013-02-23 15:28:01 -08:00
Michael Dowling
ea2a6afbce Lazy load operation parameters 2013-02-23 14:21:12 -08:00
Michael Dowling
b723c4d35b Moving the request param curl.emit_io to curl options under emit_io 2013-02-23 14:05:13 -08:00
Michael Dowling
c6fafe5c55 Fixing a unit test 2013-02-23 00:36:38 -08:00
Michael Dowling
e4d27001cd Speeding up CompositeFactory::getDefaultChain() 2013-02-22 23:16:43 -08:00
Michael Dowling
ca642f0780 Reading more data at a time when building stream hashes 2013-02-22 23:15:48 -08:00
Michael Dowling
31a1a522fa Setting a service description no longer messes with command factories
Adding some missing inheritdoc docblocks
2013-02-22 22:19:07 -08:00
Michael Dowling
ff6738a028 Refactoring setUserAgent and Removing Guzzle\Http\Utils
Guzzle\Http\Client::setUserAgent() now simply accepts a string as input
2013-02-22 22:07:19 -08:00
Michael Dowling
bd9f6adcf0 Iterating over array instead of ArrayIterator in CurlHandle::factory 2013-02-22 16:23:19 -08:00
Michael Dowling
35ea478945 Performance optimization to header object 2013-02-22 01:28:05 -08:00
Michael Dowling
475d972afa Optimizing cURL multi transactions 2013-02-21 21:05:03 -08:00
Michael Dowling
ceccf5b604 Another tweak to service builder service creations 2013-02-21 17:48:58 -08:00
Michael Dowling
3f8568c76b Removing unnecessary CURLOPT_USERAGENT settings 2013-02-21 16:38:58 -08:00
Michael Dowling
20c6a5b180 Minor tweaks to building services 2013-02-21 16:38:43 -08:00
Michael Dowling
cb0ab036f5 Adding wb as a valid write mode for streams
Closes #242
2013-02-20 11:08:31 -08:00
Michael Dowling
907585d1fa Using doctrine/cache instead of doctrine/common 2013-02-19 14:40:15 -08:00
Michael Dowling
5d8a6c8952 Merge pull request #240 from adrianmacneil/patch-239
Allow calling setAuth() with a blank password. Closes #239
2013-02-16 13:14:35 -08:00
Adrian Macneil
47f4942f39 Allow calling setAuth() with a blank password. Closes #239
This supports APIs such as Stripe which only require a username to authenticate.
2013-02-16 10:38:38 +07:00
Michael Dowling
f367b6cca2 Updating branch alias for dev-master 2013-02-14 18:10:51 -08:00
Michael Dowling
3a3fa1c5af Updating changelog date v3.2.0 2013-02-14 17:33:10 -08:00
Michael Dowling
69ad0affa2 The encoding scheme used by Guzzle\Http\QueryString can now be
customized
Guzzle\Http\QueryString no longer accepts a callback function for
aggregation but rather uses QueryAggregatorInterface objects.
Addresses #238.
2013-02-13 23:28:44 -08:00
Michael Dowling
549cabddbe Updating changelog 2013-02-13 18:37:29 -08:00
Michael Dowling
206d02eadc Merge pull request #237 from athieriot/fix-double-maxage
Make a choice when max-age is present twice
2013-02-13 11:15:13 -08:00
Aurélien Thieriot
500b63986c Make a choice when max-age is present twice 2013-02-13 10:04:45 +00:00
Michael Dowling
b6bc3a3db1 Adding upgrade notes for the pending 3.2.0 release 2013-02-12 22:55:52 -08:00
Michael Dowling
c9cada3d92 Only using CURLOPT_PROTOCOLS if cURL version >= 7.19.4
Closes #236
2013-02-12 16:31:20 -08:00
Michael Dowling
e612fe1ff7 Preparing for 3.2.0 2013-02-10 20:28:35 -08:00
Michael Dowling
17af797f0f Adding a way to explode all headers on glue using the normalize method 2013-02-10 19:30:29 -08:00
Michael Dowling
a8dc1189aa Headers are no longer split on a default glue of "," when adding
Rolls back 2f8565b46ac721259497a39e7f458a720acf9d64
This is necessary to work well with headers with commas (e.g. Date)
2013-02-10 15:16:48 -08:00
Michael Dowling
d5eec8ee4a Allowing only HTTP and HTTPS protocols 2013-02-09 22:58:25 -08:00
Michael Dowling
c57b28e111 Adding setData() to service descriptions 2013-02-09 18:03:39 -08:00
Michael Dowling
894ef55422 Merge pull request #235 from gimler/patch-2
correct php docs
2013-02-08 10:54:08 -08:00
Gordon Franke
4af928f8fd Update src/Guzzle/Service/Builder/ServiceBuilder.php
correct php docs
2013-02-08 19:52:40 +01:00
Michael Dowling
49b7477d9b Merge pull request #234 from angelk/readmeFix
README add mssing "."
2013-02-08 10:08:33 -08:00