[commits] Horde branch master updated. 91729b04bddb489dd4e1ac73a01d4c7ab126a910

Chuck Hagenbuch chuck at horde.org
Tue Sep 15 03:41:11 UTC 2009


The branch "master" has been updated.
The following is a summary of the commits.

from: 9fc111a73c75251aaf29b400582afacc16e31366

3998b7e... first take at a new horde_http_client API that allows alternate adapters
865f4ac... Merge branch 'master' into http-client-adapters
fd3d536... Fix typo
1d9a591... With the Fopen adapter, sniff the error message for an HTTP status code, and if there is one, return a minimally useful Response object instead of throwing an error message.
b03ea71... method case
258ede7... Initial refactoring to split backends based on request/response objects
b83d45d... Make sure we don't accidentally trigger curl's file uploading
deea181... Add Horde_Support_StringStream and the supporting Horde_Stream_Wrapper_String class
51bf8e0... start adding response objects
88f5fd6... new usage pattern for requests
ce9117f... include the abstract send() method
0b6c8ad... using streams with curl is broken in PHP 5.3.0
4dfca46... pecl_http, cURL, and fopen requests all work for the basics now
8038a84... make Stream_Wrapper a required dependency since StringWrapper won't work without it
e355291... add Horde_Support as a dependency
91729b0... Merge branch 'http-client-adapters'

-----------------------------------------------------------------------

commit 3998b7ea63418a33d50d1336e31a08cbacf1a15b
Author: Chuck Hagenbuch <chuck at horde.org>
Date:   Wed Aug 19 13:08:10 2009 -0400

    first take at a new horde_http_client API that allows alternate adapters

 framework/Http_Client/lib/Horde/Http/Client.php                  |  187 ++----
 framework/Http_Client/lib/Horde/Http/Client/Adapter/Base.php     |   74 ++
 framework/Http_Client/lib/Horde/Http/Client/Adapter/Curl.php     |   51 ++
 framework/Http_Client/lib/Horde/Http/Client/Adapter/Fopen.php    |   78 +++
 framework/Http_Client/lib/Horde/Http/Client/Adapter/Peclhttp.php |   62 ++
 framework/Http_Client/lib/Horde/Http/Client/Request.php          |  109 +++
 framework/Http_Client/lib/Horde/Http/Client/Response.php         |    4 +
 framework/Http_Client/package.xml                                |   12 +
 8 files changed, 450 insertions(+), 127 deletions(-)
 create mode 100644 framework/Http_Client/lib/Horde/Http/Client/Adapter/Base.php
 create mode 100644 framework/Http_Client/lib/Horde/Http/Client/Adapter/Curl.php
 create mode 100644 framework/Http_Client/lib/Horde/Http/Client/Adapter/Fopen.php
 create mode 100644 framework/Http_Client/lib/Horde/Http/Client/Adapter/Peclhttp.php
 create mode 100644 framework/Http_Client/lib/Horde/Http/Client/Request.php

http://git.horde.org/diff.php/framework/Http_Client/lib/Horde/Http/Client.php?rt=horde-git&r1=317dca7c919531394c648da9bd895441886cb6ac&r2=3998b7ea63418a33d50d1336e31a08cbacf1a15b
http://git.horde.org/co.php/framework/Http_Client/lib/Horde/Http/Client/Adapter/Base.php?rt=horde-git&r=3998b7ea63418a33d50d1336e31a08cbacf1a15b
http://git.horde.org/co.php/framework/Http_Client/lib/Horde/Http/Client/Adapter/Curl.php?rt=horde-git&r=3998b7ea63418a33d50d1336e31a08cbacf1a15b
http://git.horde.org/co.php/framework/Http_Client/lib/Horde/Http/Client/Adapter/Fopen.php?rt=horde-git&r=3998b7ea63418a33d50d1336e31a08cbacf1a15b
http://git.horde.org/co.php/framework/Http_Client/lib/Horde/Http/Client/Adapter/Peclhttp.php?rt=horde-git&r=3998b7ea63418a33d50d1336e31a08cbacf1a15b
http://git.horde.org/co.php/framework/Http_Client/lib/Horde/Http/Client/Request.php?rt=horde-git&r=3998b7ea63418a33d50d1336e31a08cbacf1a15b
http://git.horde.org/diff.php/framework/Http_Client/lib/Horde/Http/Client/Response.php?rt=horde-git&r1=67d66158c228dd6ba6691092332bacf9c6a8fd57&r2=3998b7ea63418a33d50d1336e31a08cbacf1a15b
http://git.horde.org/diff.php/framework/Http_Client/package.xml?rt=horde-git&r1=f5ef174c199166f3923b863f7395f7e08e99155e&r2=3998b7ea63418a33d50d1336e31a08cbacf1a15b

-----------------------------------------------------------------------

commit 865f4acf8e2d4bf358d57a11b5457c57f527ef22
Merge: 3998b7e... 6a47d38...
Author: Michael J. Rubinsky <mrubinsk at horde.org>
Date:   Wed Aug 19 14:34:49 2009 -0400

    Merge branch 'master' into http-client-adapters

 framework/Core/lib/Horde/Registry.php |   14 +++++++++++---
 1 files changed, 11 insertions(+), 3 deletions(-)

http://git.horde.org/diff.php/framework/Core/lib/Horde/Registry.php?rt=horde-git&r1=3cf0fc0cb26ac8395127d1ace3fe24a31b6ff542&r2=865f4acf8e2d4bf358d57a11b5457c57f527ef22

-----------------------------------------------------------------------

commit fd3d53683bc6471555cb235ccff73c3efbe31d1b
Author: Michael J. Rubinsky <mrubinsk at horde.org>
Date:   Wed Aug 19 14:50:20 2009 -0400

    Fix typo

 framework/Http_Client/lib/Horde/Http/Client/Adapter/Peclhttp.php |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

http://git.horde.org/diff.php/framework/Http_Client/lib/Horde/Http/Client/Adapter/Peclhttp.php?rt=horde-git&r1=3998b7ea63418a33d50d1336e31a08cbacf1a15b&r2=fd3d53683bc6471555cb235ccff73c3efbe31d1b

-----------------------------------------------------------------------

commit 1d9a5911bc6abf5c9a535a6c4b858a19f5c62f60
Author: Chuck Hagenbuch <chuck at horde.org>
Date:   Sun Aug 23 12:30:59 2009 -0400

    With the Fopen adapter, sniff the error message for an HTTP status code, and if
    there is one, return a minimally useful Response object instead of throwing an
    error message.

 framework/Http_Client/lib/Horde/Http/Client/Adapter/Fopen.php     |    8 +-
 .../Http_Client/test/Horde/Http/Client/Adapter/FopenTest.php      |   36 +++
 framework/Http_Client/test/Horde/Http/Client/AllTests.php         |   54 +++++
 3 files changed, 97 insertions(+), 1 deletions(-)
 create mode 100644 framework/Http_Client/test/Horde/Http/Client/Adapter/FopenTest.php
 create mode 100644 framework/Http_Client/test/Horde/Http/Client/AllTests.php

http://git.horde.org/diff.php/framework/Http_Client/lib/Horde/Http/Client/Adapter/Fopen.php?rt=horde-git&r1=3998b7ea63418a33d50d1336e31a08cbacf1a15b&r2=1d9a5911bc6abf5c9a535a6c4b858a19f5c62f60
http://git.horde.org/co.php/framework/Http_Client/test/Horde/Http/Client/Adapter/FopenTest.php?rt=horde-git&r=1d9a5911bc6abf5c9a535a6c4b858a19f5c62f60
http://git.horde.org/co.php/framework/Http_Client/test/Horde/Http/Client/AllTests.php?rt=horde-git&r=1d9a5911bc6abf5c9a535a6c4b858a19f5c62f60

-----------------------------------------------------------------------

commit b03ea71b1ee0b8de84673e75d83827d888488c54
Author: Chuck Hagenbuch <chuck at horde.org>
Date:   Sun Aug 23 12:31:57 2009 -0400

    method case

 .../examples/Horde/Http/Client/get-example-dot-com.php            |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

http://git.horde.org/diff.php/framework/Http_Client/examples/Horde/Http/Client/get-example-dot-com.php?rt=horde-git&r1=67d66158c228dd6ba6691092332bacf9c6a8fd57&r2=b03ea71b1ee0b8de84673e75d83827d888488c54

-----------------------------------------------------------------------

commit 258ede7c54e605174c9ff7976039b607f6707b36
Author: Chuck Hagenbuch <chuck at horde.org>
Date:   Fri Sep 4 11:40:48 2009 -0400

    Initial refactoring to split backends based on request/response objects

 framework/Http/examples/Horde/Http/get-example-dot-com.php        |   18 +
 framework/Http/lib/Horde/Http/Client.php                          |  193 ++++
 framework/Http/lib/Horde/Http/Exception.php                       |   41 +
 framework/Http/lib/Horde/Http/Request/Base.php                    |  133 +++
 framework/Http/lib/Horde/Http/Request/Curl.php                    |   49 +
 framework/Http/lib/Horde/Http/Request/Fopen.php                   |   82 ++
 framework/Http/lib/Horde/Http/Request/Mock.php                    |   81 ++
 framework/Http/lib/Horde/Http/Request/Peclhttp.php                |   59 ++
 framework/Http/lib/Horde/Http/Response/Base.php                   |  150 +++
 framework/Http/package.xml                                        |   70 ++
 framework/Http/test/Horde/Http/AllTests.php                       |   54 ++
 framework/Http/test/Horde/Http/FopenTest.php                      |   36 +
 .../examples/Horde/Http/Client/get-example-dot-com.php            |   20 -
 framework/Http_Client/lib/Horde/Http/Client.php                   |  208 -----
 framework/Http_Client/lib/Horde/Http/Client/Adapter/Base.php      |   74 --
 framework/Http_Client/lib/Horde/Http/Client/Adapter/Curl.php      |   51 -
 framework/Http_Client/lib/Horde/Http/Client/Adapter/Fopen.php     |   84 --
 framework/Http_Client/lib/Horde/Http/Client/Adapter/Peclhttp.php  |   62 --
 framework/Http_Client/lib/Horde/Http/Client/Exception.php         |   41 -
 framework/Http_Client/lib/Horde/Http/Client/Mock.php              |   89 --
 framework/Http_Client/lib/Horde/Http/Client/Request.php           |  109 ---
 framework/Http_Client/lib/Horde/Http/Client/Response.php          |  150 ---
 framework/Http_Client/package.xml                                 |   75 --
 .../Http_Client/test/Horde/Http/Client/Adapter/FopenTest.php      |   36 -
 framework/Http_Client/test/Horde/Http/Client/AllTests.php         |   54 --
 25 files changed, 966 insertions(+), 1053 deletions(-)
 create mode 100644 framework/Http/examples/Horde/Http/get-example-dot-com.php
 create mode 100644 framework/Http/lib/Horde/Http/Client.php
 create mode 100644 framework/Http/lib/Horde/Http/Exception.php
 create mode 100644 framework/Http/lib/Horde/Http/Request/Base.php
 create mode 100644 framework/Http/lib/Horde/Http/Request/Curl.php
 create mode 100644 framework/Http/lib/Horde/Http/Request/Fopen.php
 create mode 100644 framework/Http/lib/Horde/Http/Request/Mock.php
 create mode 100644 framework/Http/lib/Horde/Http/Request/Peclhttp.php
 create mode 100644 framework/Http/lib/Horde/Http/Response/Base.php
 create mode 100644 framework/Http/lib/Horde/Http/Response/Curl.php
 create mode 100644 framework/Http/lib/Horde/Http/Response/Fopen.php
 create mode 100644 framework/Http/lib/Horde/Http/Response/Peclhttp.php
 create mode 100644 framework/Http/package.xml
 create mode 100644 framework/Http/test/Horde/Http/AllTests.php
 create mode 100644 framework/Http/test/Horde/Http/FopenTest.php
 delete mode 100644 framework/Http_Client/examples/Horde/Http/Client/get-example-dot-com.php
 delete mode 100644 framework/Http_Client/lib/Horde/Http/Client.php
 delete mode 100644 framework/Http_Client/lib/Horde/Http/Client/Adapter/Base.php
 delete mode 100644 framework/Http_Client/lib/Horde/Http/Client/Adapter/Curl.php
 delete mode 100644 framework/Http_Client/lib/Horde/Http/Client/Adapter/Fopen.php
 delete mode 100644 framework/Http_Client/lib/Horde/Http/Client/Adapter/Peclhttp.php
 delete mode 100644 framework/Http_Client/lib/Horde/Http/Client/Exception.php
 delete mode 100644 framework/Http_Client/lib/Horde/Http/Client/Mock.php
 delete mode 100644 framework/Http_Client/lib/Horde/Http/Client/Request.php
 delete mode 100644 framework/Http_Client/lib/Horde/Http/Client/Response.php
 delete mode 100644 framework/Http_Client/package.xml
 delete mode 100644 framework/Http_Client/test/Horde/Http/Client/Adapter/FopenTest.php
 delete mode 100644 framework/Http_Client/test/Horde/Http/Client/AllTests.php

http://git.horde.org/co.php/framework/Http/examples/Horde/Http/get-example-dot-com.php?rt=horde-git&r=258ede7c54e605174c9ff7976039b607f6707b36
http://git.horde.org/co.php/framework/Http/lib/Horde/Http/Client.php?rt=horde-git&r=258ede7c54e605174c9ff7976039b607f6707b36
http://git.horde.org/co.php/framework/Http/lib/Horde/Http/Exception.php?rt=horde-git&r=258ede7c54e605174c9ff7976039b607f6707b36
http://git.horde.org/co.php/framework/Http/lib/Horde/Http/Request/Base.php?rt=horde-git&r=258ede7c54e605174c9ff7976039b607f6707b36
http://git.horde.org/co.php/framework/Http/lib/Horde/Http/Request/Curl.php?rt=horde-git&r=258ede7c54e605174c9ff7976039b607f6707b36
http://git.horde.org/co.php/framework/Http/lib/Horde/Http/Request/Fopen.php?rt=horde-git&r=258ede7c54e605174c9ff7976039b607f6707b36
http://git.horde.org/co.php/framework/Http/lib/Horde/Http/Request/Mock.php?rt=horde-git&r=258ede7c54e605174c9ff7976039b607f6707b36
http://git.horde.org/co.php/framework/Http/lib/Horde/Http/Request/Peclhttp.php?rt=horde-git&r=258ede7c54e605174c9ff7976039b607f6707b36
http://git.horde.org/co.php/framework/Http/lib/Horde/Http/Response/Base.php?rt=horde-git&r=258ede7c54e605174c9ff7976039b607f6707b36
http://git.horde.org/co.php/framework/Http/lib/Horde/Http/Response/Curl.php?rt=horde-git&r=258ede7c54e605174c9ff7976039b607f6707b36
http://git.horde.org/co.php/framework/Http/lib/Horde/Http/Response/Fopen.php?rt=horde-git&r=258ede7c54e605174c9ff7976039b607f6707b36
http://git.horde.org/co.php/framework/Http/lib/Horde/Http/Response/Peclhttp.php?rt=horde-git&r=258ede7c54e605174c9ff7976039b607f6707b36
http://git.horde.org/co.php/framework/Http/package.xml?rt=horde-git&r=258ede7c54e605174c9ff7976039b607f6707b36
http://git.horde.org/co.php/framework/Http/test/Horde/Http/AllTests.php?rt=horde-git&r=258ede7c54e605174c9ff7976039b607f6707b36
http://git.horde.org/co.php/framework/Http/test/Horde/Http/FopenTest.php?rt=horde-git&r=258ede7c54e605174c9ff7976039b607f6707b36
http://git.horde.org/diff.php/framework/Http_Client/examples/Horde/Http/Client/get-example-dot-com.php?rt=horde-git&r1=b03ea71b1ee0b8de84673e75d83827d888488c54&r2=258ede7c54e605174c9ff7976039b607f6707b36
http://git.horde.org/diff.php/framework/Http_Client/lib/Horde/Http/Client.php?rt=horde-git&r1=3998b7ea63418a33d50d1336e31a08cbacf1a15b&r2=258ede7c54e605174c9ff7976039b607f6707b36
http://git.horde.org/diff.php/framework/Http_Client/lib/Horde/Http/Client/Adapter/Base.php?rt=horde-git&r1=3998b7ea63418a33d50d1336e31a08cbacf1a15b&r2=258ede7c54e605174c9ff7976039b607f6707b36
http://git.horde.org/diff.php/framework/Http_Client/lib/Horde/Http/Client/Adapter/Curl.php?rt=horde-git&r1=3998b7ea63418a33d50d1336e31a08cbacf1a15b&r2=258ede7c54e605174c9ff7976039b607f6707b36
http://git.horde.org/diff.php/framework/Http_Client/lib/Horde/Http/Client/Adapter/Fopen.php?rt=horde-git&r1=1d9a5911bc6abf5c9a535a6c4b858a19f5c62f60&r2=258ede7c54e605174c9ff7976039b607f6707b36
http://git.horde.org/diff.php/framework/Http_Client/lib/Horde/Http/Client/Adapter/Peclhttp.php?rt=horde-git&r1=fd3d53683bc6471555cb235ccff73c3efbe31d1b&r2=258ede7c54e605174c9ff7976039b607f6707b36
http://git.horde.org/diff.php/framework/Http_Client/lib/Horde/Http/Client/Exception.php?rt=horde-git&r1=67d66158c228dd6ba6691092332bacf9c6a8fd57&r2=258ede7c54e605174c9ff7976039b607f6707b36
http://git.horde.org/diff.php/framework/Http_Client/lib/Horde/Http/Client/Mock.php?rt=horde-git&r1=67d66158c228dd6ba6691092332bacf9c6a8fd57&r2=258ede7c54e605174c9ff7976039b607f6707b36
http://git.horde.org/diff.php/framework/Http_Client/lib/Horde/Http/Client/Request.php?rt=horde-git&r1=3998b7ea63418a33d50d1336e31a08cbacf1a15b&r2=258ede7c54e605174c9ff7976039b607f6707b36
http://git.horde.org/diff.php/framework/Http_Client/lib/Horde/Http/Client/Response.php?rt=horde-git&r1=3998b7ea63418a33d50d1336e31a08cbacf1a15b&r2=258ede7c54e605174c9ff7976039b607f6707b36
http://git.horde.org/diff.php/framework/Http_Client/package.xml?rt=horde-git&r1=3998b7ea63418a33d50d1336e31a08cbacf1a15b&r2=258ede7c54e605174c9ff7976039b607f6707b36
http://git.horde.org/diff.php/framework/Http_Client/test/Horde/Http/Client/Adapter/FopenTest.php?rt=horde-git&r1=1d9a5911bc6abf5c9a535a6c4b858a19f5c62f60&r2=258ede7c54e605174c9ff7976039b607f6707b36
http://git.horde.org/diff.php/framework/Http_Client/test/Horde/Http/Client/AllTests.php?rt=horde-git&r1=1d9a5911bc6abf5c9a535a6c4b858a19f5c62f60&r2=258ede7c54e605174c9ff7976039b607f6707b36

-----------------------------------------------------------------------

commit b83d45d714e97f65edb57597f15640406825273d
Author: Chuck Hagenbuch <chuck at horde.org>
Date:   Tue Sep 8 21:51:53 2009 -0400

    Make sure we don't accidentally trigger curl's file uploading

 framework/Http/lib/Horde/Http/Request/Curl.php |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

http://git.horde.org/diff.php/framework/Http/lib/Horde/Http/Request/Curl.php?rt=horde-git&r1=258ede7c54e605174c9ff7976039b607f6707b36&r2=b83d45d714e97f65edb57597f15640406825273d

-----------------------------------------------------------------------

commit deea181902fc91992730534fc05bdf246608e8d4
Author: Chuck Hagenbuch <chuck at horde.org>
Date:   Mon Sep 14 22:45:27 2009 -0400

    Add Horde_Support_StringStream and the supporting Horde_Stream_Wrapper_String class
    
    Provides a way to treat a string variable as a stream without duplicating it or
    using global scope.

 framework/Stream_Wrapper/lib/Horde/Stream/Wrapper/String.php |  139 ++++++++++
 framework/Stream_Wrapper/package.xml                         |   70 +++++
 framework/Support/lib/Horde/Support/StringStream.php         |   67 +++++
 framework/Support/package.xml                                |    9 +
 4 files changed, 285 insertions(+), 0 deletions(-)
 create mode 100644 framework/Stream_Wrapper/lib/Horde/Stream/Wrapper/String.php
 create mode 100644 framework/Stream_Wrapper/package.xml
 create mode 100644 framework/Support/lib/Horde/Support/StringStream.php

http://git.horde.org/co.php/framework/Stream_Wrapper/lib/Horde/Stream/Wrapper/String.php?rt=horde-git&r=deea181902fc91992730534fc05bdf246608e8d4
http://git.horde.org/co.php/framework/Stream_Wrapper/package.xml?rt=horde-git&r=deea181902fc91992730534fc05bdf246608e8d4
http://git.horde.org/co.php/framework/Support/lib/Horde/Support/StringStream.php?rt=horde-git&r=deea181902fc91992730534fc05bdf246608e8d4
http://git.horde.org/diff.php/framework/Support/package.xml?rt=horde-git&r1=80ddb0a4a936611c84eaf657d36e893ced5d6dd7&r2=deea181902fc91992730534fc05bdf246608e8d4

-----------------------------------------------------------------------

commit 51bf8e0b31cb7075d9ddf423e2f012cebe554c68
Author: Chuck Hagenbuch <chuck at horde.org>
Date:   Mon Sep 14 22:47:00 2009 -0400

    start adding response objects

 framework/Http/lib/Horde/Http/Response/Base.php |   28 +++++++-----
 framework/Http/lib/Horde/Http/Response/Curl.php |   50 +++++++++++++++++++++++
 framework/Http/package.xml                      |   12 +++++
 3 files changed, 78 insertions(+), 12 deletions(-)

http://git.horde.org/diff.php/framework/Http/lib/Horde/Http/Response/Base.php?rt=horde-git&r1=258ede7c54e605174c9ff7976039b607f6707b36&r2=51bf8e0b31cb7075d9ddf423e2f012cebe554c68
http://git.horde.org/diff.php/framework/Http/lib/Horde/Http/Response/Curl.php?rt=horde-git&r1=258ede7c54e605174c9ff7976039b607f6707b36&r2=51bf8e0b31cb7075d9ddf423e2f012cebe554c68
http://git.horde.org/diff.php/framework/Http/package.xml?rt=horde-git&r1=258ede7c54e605174c9ff7976039b607f6707b36&r2=51bf8e0b31cb7075d9ddf423e2f012cebe554c68

-----------------------------------------------------------------------

commit 88f5fd6f9d9ef0bda74e263e1dbd1412d511cac0
Author: Chuck Hagenbuch <chuck at horde.org>
Date:   Mon Sep 14 22:47:18 2009 -0400

    new usage pattern for requests

 framework/Http/lib/Horde/Http/Client.php |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

http://git.horde.org/diff.php/framework/Http/lib/Horde/Http/Client.php?rt=horde-git&r1=258ede7c54e605174c9ff7976039b607f6707b36&r2=88f5fd6f9d9ef0bda74e263e1dbd1412d511cac0

-----------------------------------------------------------------------

commit ce9117ff9aebbb5138552e8ebe57dfd9c34382e9
Author: Chuck Hagenbuch <chuck at horde.org>
Date:   Mon Sep 14 22:47:41 2009 -0400

    include the abstract send() method

 framework/Http/lib/Horde/Http/Request/Base.php |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

http://git.horde.org/diff.php/framework/Http/lib/Horde/Http/Request/Base.php?rt=horde-git&r1=258ede7c54e605174c9ff7976039b607f6707b36&r2=ce9117ff9aebbb5138552e8ebe57dfd9c34382e9

-----------------------------------------------------------------------

commit 0b6c8ad09fa87a0ef0c78b004b52a26b393b7834
Author: Chuck Hagenbuch <chuck at horde.org>
Date:   Mon Sep 14 22:48:14 2009 -0400

    using streams with curl is broken in PHP 5.3.0

 framework/Http/lib/Horde/Http/Request/Curl.php |   33 +++++++++++++-----------
 1 files changed, 18 insertions(+), 15 deletions(-)

http://git.horde.org/diff.php/framework/Http/lib/Horde/Http/Request/Curl.php?rt=horde-git&r1=b83d45d714e97f65edb57597f15640406825273d&r2=0b6c8ad09fa87a0ef0c78b004b52a26b393b7834

-----------------------------------------------------------------------

commit 4dfca4614d1acdedb7741e9e37f2f9bc6dd4c140
Author: Chuck Hagenbuch <chuck at horde.org>
Date:   Mon Sep 14 23:38:30 2009 -0400

    pecl_http, cURL, and fopen requests all work for the basics now

 framework/Http/lib/Horde/Http/Request/Curl.php      |    2 +-
 framework/Http/lib/Horde/Http/Request/Peclhttp.php  |    2 +-
 framework/Http/lib/Horde/Http/Response/Base.php     |   54 +++++-------------
 framework/Http/lib/Horde/Http/Response/Curl.php     |   49 +++++++++++++---
 framework/Http/lib/Horde/Http/Response/Fopen.php    |   57 +++++++++++++++++++
 framework/Http/lib/Horde/Http/Response/Mock.php     |   19 ++++++
 framework/Http/lib/Horde/Http/Response/Peclhttp.php |   48 ++++++++++++++++
 7 files changed, 181 insertions(+), 50 deletions(-)
 create mode 100644 framework/Http/lib/Horde/Http/Response/Mock.php

http://git.horde.org/diff.php/framework/Http/lib/Horde/Http/Request/Curl.php?rt=horde-git&r1=0b6c8ad09fa87a0ef0c78b004b52a26b393b7834&r2=4dfca4614d1acdedb7741e9e37f2f9bc6dd4c140
http://git.horde.org/diff.php/framework/Http/lib/Horde/Http/Request/Peclhttp.php?rt=horde-git&r1=258ede7c54e605174c9ff7976039b607f6707b36&r2=4dfca4614d1acdedb7741e9e37f2f9bc6dd4c140
http://git.horde.org/diff.php/framework/Http/lib/Horde/Http/Response/Base.php?rt=horde-git&r1=51bf8e0b31cb7075d9ddf423e2f012cebe554c68&r2=4dfca4614d1acdedb7741e9e37f2f9bc6dd4c140
http://git.horde.org/diff.php/framework/Http/lib/Horde/Http/Response/Curl.php?rt=horde-git&r1=51bf8e0b31cb7075d9ddf423e2f012cebe554c68&r2=4dfca4614d1acdedb7741e9e37f2f9bc6dd4c140
http://git.horde.org/diff.php/framework/Http/lib/Horde/Http/Response/Fopen.php?rt=horde-git&r1=258ede7c54e605174c9ff7976039b607f6707b36&r2=4dfca4614d1acdedb7741e9e37f2f9bc6dd4c140
http://git.horde.org/co.php/framework/Http/lib/Horde/Http/Response/Mock.php?rt=horde-git&r=4dfca4614d1acdedb7741e9e37f2f9bc6dd4c140
http://git.horde.org/diff.php/framework/Http/lib/Horde/Http/Response/Peclhttp.php?rt=horde-git&r1=258ede7c54e605174c9ff7976039b607f6707b36&r2=4dfca4614d1acdedb7741e9e37f2f9bc6dd4c140

-----------------------------------------------------------------------

commit 8038a84c18301cca9c6e0b8ed51ef694eae24f93
Author: Chuck Hagenbuch <chuck at horde.org>
Date:   Mon Sep 14 23:40:03 2009 -0400

    make Stream_Wrapper a required dependency since StringWrapper won't work without it

 framework/Support/package.xml |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

http://git.horde.org/diff.php/framework/Support/package.xml?rt=horde-git&r1=deea181902fc91992730534fc05bdf246608e8d4&r2=8038a84c18301cca9c6e0b8ed51ef694eae24f93

-----------------------------------------------------------------------

commit e355291c5e8de6ce99bb0a996a2b0a1d6bde8147
Author: Chuck Hagenbuch <chuck at horde.org>
Date:   Mon Sep 14 23:40:21 2009 -0400

    add Horde_Support as a dependency

 framework/Http/package.xml |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

http://git.horde.org/diff.php/framework/Http/package.xml?rt=horde-git&r1=51bf8e0b31cb7075d9ddf423e2f012cebe554c68&r2=e355291c5e8de6ce99bb0a996a2b0a1d6bde8147

-----------------------------------------------------------------------

commit 91729b04bddb489dd4e1ac73a01d4c7ab126a910
Merge: 9fc111a... e355291...
Author: Chuck Hagenbuch <chuck at horde.org>
Date:   Mon Sep 14 23:41:03 2009 -0400

    Merge branch 'http-client-adapters'

 framework/Http/examples/Horde/Http/get-example-dot-com.php        |   18 +
 framework/Http/lib/Horde/Http/Client.php                          |  193 +++
 framework/Http/lib/Horde/Http/Exception.php                       |   41 +
 framework/Http/lib/Horde/Http/Request/Base.php                    |  140 +++
 framework/Http/lib/Horde/Http/Request/Curl.php                    |   56 +
 framework/Http/lib/Horde/Http/Request/Fopen.php                   |   82 ++
 framework/Http/lib/Horde/Http/Request/Mock.php                    |   81 ++
 framework/Http/lib/Horde/Http/Request/Peclhttp.php                |   59 +
 framework/Http/lib/Horde/Http/Response/Base.php                   |  130 ++
 framework/Http/lib/Horde/Http/Response/Curl.php                   |   81 ++
 framework/Http/lib/Horde/Http/Response/Fopen.php                  |   57 +
 framework/Http/lib/Horde/Http/Response/Mock.php                   |   19 +
 framework/Http/lib/Horde/Http/Response/Peclhttp.php               |   48 +
 framework/Http/package.xml                                        |   86 ++
 framework/Http/test/Horde/Http/AllTests.php                       |   54 +
 framework/Http/test/Horde/Http/FopenTest.php                      |   36 +
 .../examples/Horde/Http/Client/get-example-dot-com.php            |   20 -
 framework/Http_Client/lib/Horde/Http/Client.php                   |  275 -----
 framework/Http_Client/lib/Horde/Http/Client/Exception.php         |   41 -
 framework/Http_Client/lib/Horde/Http/Client/Mock.php              |   89 --
 framework/Http_Client/lib/Horde/Http/Client/Response.php          |  146 ---
 framework/Http_Client/package.xml                                 |   63 -
 framework/Stream_Wrapper/lib/Horde/Stream/Wrapper/String.php      |  139 +++
 framework/Stream_Wrapper/package.xml                              |   70 ++
 framework/Support/lib/Horde/Support/StringStream.php              |   67 +
 framework/Support/package.xml                                     |    7 +
 26 files changed, 1464 insertions(+), 634 deletions(-)

http://git.horde.org/co.php/framework/Http/examples/Horde/Http/get-example-dot-com.php?rt=horde-git&r=91729b04bddb489dd4e1ac73a01d4c7ab126a910
http://git.horde.org/co.php/framework/Http/lib/Horde/Http/Client.php?rt=horde-git&r=91729b04bddb489dd4e1ac73a01d4c7ab126a910
http://git.horde.org/co.php/framework/Http/lib/Horde/Http/Exception.php?rt=horde-git&r=91729b04bddb489dd4e1ac73a01d4c7ab126a910
http://git.horde.org/co.php/framework/Http/lib/Horde/Http/Request/Base.php?rt=horde-git&r=91729b04bddb489dd4e1ac73a01d4c7ab126a910
http://git.horde.org/co.php/framework/Http/lib/Horde/Http/Request/Curl.php?rt=horde-git&r=91729b04bddb489dd4e1ac73a01d4c7ab126a910
http://git.horde.org/co.php/framework/Http/lib/Horde/Http/Request/Fopen.php?rt=horde-git&r=91729b04bddb489dd4e1ac73a01d4c7ab126a910
http://git.horde.org/co.php/framework/Http/lib/Horde/Http/Request/Mock.php?rt=horde-git&r=91729b04bddb489dd4e1ac73a01d4c7ab126a910
http://git.horde.org/co.php/framework/Http/lib/Horde/Http/Request/Peclhttp.php?rt=horde-git&r=91729b04bddb489dd4e1ac73a01d4c7ab126a910
http://git.horde.org/co.php/framework/Http/lib/Horde/Http/Response/Base.php?rt=horde-git&r=91729b04bddb489dd4e1ac73a01d4c7ab126a910
http://git.horde.org/co.php/framework/Http/lib/Horde/Http/Response/Curl.php?rt=horde-git&r=91729b04bddb489dd4e1ac73a01d4c7ab126a910
http://git.horde.org/co.php/framework/Http/lib/Horde/Http/Response/Fopen.php?rt=horde-git&r=91729b04bddb489dd4e1ac73a01d4c7ab126a910
http://git.horde.org/co.php/framework/Http/lib/Horde/Http/Response/Mock.php?rt=horde-git&r=91729b04bddb489dd4e1ac73a01d4c7ab126a910
http://git.horde.org/co.php/framework/Http/lib/Horde/Http/Response/Peclhttp.php?rt=horde-git&r=91729b04bddb489dd4e1ac73a01d4c7ab126a910
http://git.horde.org/co.php/framework/Http/package.xml?rt=horde-git&r=91729b04bddb489dd4e1ac73a01d4c7ab126a910
http://git.horde.org/co.php/framework/Http/test/Horde/Http/AllTests.php?rt=horde-git&r=91729b04bddb489dd4e1ac73a01d4c7ab126a910
http://git.horde.org/co.php/framework/Http/test/Horde/Http/FopenTest.php?rt=horde-git&r=91729b04bddb489dd4e1ac73a01d4c7ab126a910
http://git.horde.org/diff.php/framework/Http_Client/examples/Horde/Http/Client/get-example-dot-com.php?rt=horde-git&r1=67d66158c228dd6ba6691092332bacf9c6a8fd57&r2=91729b04bddb489dd4e1ac73a01d4c7ab126a910
http://git.horde.org/diff.php/framework/Http_Client/lib/Horde/Http/Client.php?rt=horde-git&r1=317dca7c919531394c648da9bd895441886cb6ac&r2=91729b04bddb489dd4e1ac73a01d4c7ab126a910
http://git.horde.org/diff.php/framework/Http_Client/lib/Horde/Http/Client/Exception.php?rt=horde-git&r1=67d66158c228dd6ba6691092332bacf9c6a8fd57&r2=91729b04bddb489dd4e1ac73a01d4c7ab126a910
http://git.horde.org/diff.php/framework/Http_Client/lib/Horde/Http/Client/Mock.php?rt=horde-git&r1=67d66158c228dd6ba6691092332bacf9c6a8fd57&r2=91729b04bddb489dd4e1ac73a01d4c7ab126a910
http://git.horde.org/diff.php/framework/Http_Client/lib/Horde/Http/Client/Response.php?rt=horde-git&r1=67d66158c228dd6ba6691092332bacf9c6a8fd57&r2=91729b04bddb489dd4e1ac73a01d4c7ab126a910
http://git.horde.org/diff.php/framework/Http_Client/package.xml?rt=horde-git&r1=f5ef174c199166f3923b863f7395f7e08e99155e&r2=91729b04bddb489dd4e1ac73a01d4c7ab126a910
http://git.horde.org/co.php/framework/Stream_Wrapper/lib/Horde/Stream/Wrapper/String.php?rt=horde-git&r=91729b04bddb489dd4e1ac73a01d4c7ab126a910
http://git.horde.org/co.php/framework/Stream_Wrapper/package.xml?rt=horde-git&r=91729b04bddb489dd4e1ac73a01d4c7ab126a910
http://git.horde.org/co.php/framework/Support/lib/Horde/Support/StringStream.php?rt=horde-git&r=91729b04bddb489dd4e1ac73a01d4c7ab126a910
http://git.horde.org/diff.php/framework/Support/package.xml?rt=horde-git&r1=a2362bc321848e5a3191a07b039eda951d8ac268&r2=91729b04bddb489dd4e1ac73a01d4c7ab126a910




More information about the commits mailing list