Permalink
Browse files

Merge branch '1.0.0-beta3'

  • Loading branch information...
2 parents 69a97af + 397c734 commit 9dcdf435c677f0f813def7e0e47efe0949319e31 @pmjones pmjones committed Jul 31, 2012
Showing with 1,933 additions and 412 deletions.
  1. +6 −0 README.md
  2. +33 −5 composer.json
  3. +6 −1 meta/changes.txt
  4. +1 −1 meta/description.txt
  5. +1 −1 meta/keywords.csv
  6. +1 −1 meta/summary.txt
  7. +5 −2 src/Aura/Http/Adapter/AdapterInterface.php
  8. +230 −47 src/Aura/Http/Adapter/Curl.php
  9. +190 −16 src/Aura/Http/Adapter/Stream.php
  10. +133 −79 src/Aura/Http/Cookie.php
  11. +34 −15 src/Aura/Http/Cookie/Collection.php
  12. +5 −2 src/Aura/Http/Cookie/Factory.php
  13. +103 −39 src/Aura/Http/Cookie/Jar.php
  14. +29 −2 src/Aura/Http/Cookie/JarFactory.php
  15. +8 −2 src/Aura/Http/Exception.php
  16. +10 −1 src/Aura/Http/Exception/ConnectionFailed.php
  17. +10 −1 src/Aura/Http/Exception/ConnectionTimeout.php
  18. +10 −1 src/Aura/Http/Exception/EmptyResponse.php
  19. +10 −1 src/Aura/Http/Exception/FileDoesNotExist.php
  20. +7 −2 src/Aura/Http/Exception/HeadersSent.php
  21. +10 −1 src/Aura/Http/Exception/InvalidUsername.php
  22. +10 −1 src/Aura/Http/Exception/MalformedCookie.php
  23. +10 −1 src/Aura/Http/Exception/NotWriteable.php
  24. +10 −1 src/Aura/Http/Exception/UnknownAdapterType.php
  25. +10 −1 src/Aura/Http/Exception/UnknownAuthType.php
  26. +10 −1 src/Aura/Http/Exception/UnknownMessageType.php
  27. +10 −1 src/Aura/Http/Exception/UnknownMethod.php
  28. +10 −1 src/Aura/Http/Exception/UnknownStatus.php
  29. +10 −1 src/Aura/Http/Exception/UnknownVersion.php
  30. +12 −9 src/Aura/Http/Header.php
  31. +28 −14 src/Aura/Http/Header/Collection.php
  32. +4 −1 src/Aura/Http/Header/Factory.php
  33. +78 −8 src/Aura/Http/Manager.php
  34. +28 −2 src/Aura/Http/Manager/Factory.php
  35. +17 −14 src/Aura/Http/Message.php
  36. +41 −2 src/Aura/Http/Message/Factory.php
  37. +109 −23 src/Aura/Http/Message/Request.php
  38. +11 −9 src/Aura/Http/Message/Response.php
  39. +3 −0 src/Aura/Http/Message/Response/Stack.php
  40. +40 −15 src/Aura/Http/Message/Response/StackBuilder.php
  41. +121 −11 src/Aura/Http/Multipart/FormData.php
  42. +105 −12 src/Aura/Http/Multipart/Part.php
  43. +24 −0 src/Aura/Http/Multipart/PartFactory.php
  44. +47 −3 src/Aura/Http/PhpFunc.php
  45. +101 −17 src/Aura/Http/Transport.php
  46. +211 −43 src/Aura/Http/Transport/Options.php
  47. +31 −1 src/Aura/Http/Transport/TransportInterface.php
View
@@ -5,6 +5,12 @@ The Aura HTTP package provides objects to build and send HTTP requests and
responses, including `multipart/form-data` requests, with streaming of file
resources when using the `curl` adapter.
+This package is compliant with [PSR-0][], [PSR-1][], and [PSR-2][]. If you
+notice compliance oversights, please send a patch via pull request.
+
+[PSR-0]: https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-0.md
+[PSR-1]: https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-1-basic-coding-standard.md
+[PSR-2]: https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-2-coding-style-guide.md
Getting Started
===============
View
@@ -1,23 +1,51 @@
{
- "name": "Aura/Http",
+ "name": "aura/http",
"type": "library",
- "description": "The Aura HTTP package provides objects to build and send HTTP responses from the server to the client.",
+ "description": "The Aura HTTP package provides objects to build and send HTTP requests and responses.",
"keywords": [
"http",
"http response",
- "response"
+ "response",
+ "http request",
+ "request",
+ "http client",
+ "client",
+ "http transport",
+ "transport"
],
"homepage": "http://auraphp.github.com/Aura.Http",
- "version": "1.0.0-dev",
+ "version": "1.0.0-beta3",
+ "time": "2012-07-30",
"license": "BSD",
"authors": [
{
- "name": "Aura Contributors",
+ "name": "Aura.Http Contributors",
"homepage": "https://github.com/auraphp/Aura.Http/contributors"
+ },
+ {
+ "name": "Paul M. Jones",
+ "email": "pmjones88@gmail.com",
+ "homepage": "http://paul-m-jones.com"
+ },
+ {
+ "name": "Galactic Void",
+ "email": "",
+ "homepage": "https://github.com/galactic-void"
+ },
+ {
+ "name": "Hari KT",
+ "email": "kthari85@gmail.com",
+ "homepage": "http://harikt.com"
}
],
"minimum-stability": "dev",
"require": {
"php": ">=5.4.0"
+ },
+ "minimum-stability": "dev",
+ "autoload": {
+ "psr-0": {
+ "Aura\\Http": "src/"
+ }
}
}
View
@@ -1 +1,6 @@
-- no changes, making a release only so that automated docs get updated
+- Now includes Request, Adapter, and Transport mechanisms, making it a full-
+ fledged HTTP library.
+
+- Cookies and Headers are now represented by objects, not arrays.
+
+- Modified for PSR-1 and 2 compliance.
View
@@ -1 +1 @@
-The Aura HTTP package provides objects to build and send HTTP responses from the server to the client.
+The Aura HTTP package provides objects to build and send HTTP requests and responses.
View
@@ -1 +1 @@
-http, http response, response
+http, http response, response, http request, request, http client, client, http transport, transport
View
@@ -1 +1 @@
-Build and send HTTP responses
+Build and send HTTP requests and responses
@@ -3,6 +3,8 @@
*
* This file is part of the Aura project for PHP.
*
+ * @package Aura.Http
+ *
* @license http://opensource.org/licenses/bsd-license.php BSD
*
*/
@@ -24,12 +26,13 @@
*
* Execute the request.
*
- * @param Aura\Http\Request $request The request.
+ * @param Request $request The request.
*
- * @param Aura\Http\Transport\Options $options The transport options.
+ * @param Options $options The transport options.
*
* @return Aura\Http\Response\Stack A stack of responses.
*
*/
public function exec(Request $request, Options $options);
}
+
Oops, something went wrong.

0 comments on commit 9dcdf43

Please sign in to comment.