Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b4c512b
commit 0a3c54c
Showing
14 changed files
with
264 additions
and
7 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<r xmlns="http://pear.php.net/dtd/rest.release" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xlink="http://www.w3.org/1999/xlink" xsi:schemaLocation="http://pear.php.net/dtd/rest.release http://pear.php.net/dtd/rest.release.xsd"> | ||
<p xlink:href="rest/p/pear2_http_request">PEAR2_HTTP_Request</p> | ||
<c>pear2.php.net</c> | ||
<v>0.3.0</v> | ||
<st>alpha</st> | ||
<l>New BSD License</l> | ||
<m>saltybeagle</m> | ||
<s>Class to perform HTTP requests. Uses an adapter based system for performing those requests | ||
</s> | ||
<d> | ||
Please see the examples dir for basic usage | ||
|
||
Adapters are available for based on the following code and are used in this order: | ||
|
||
* PEAR2\HTTP\Request\Adapter\Http (uses the Pecl Http class) | ||
* PEAR2\HTTP\Request\Adapter\Curl (based on the curl extension, not complete) | ||
* PEAR2\HTTP\Request\Adapter\Phpstream (based on the http php stream code) | ||
* PEAR2\HTTP\Request\Adapter\Phpsocket (based on php sockets, built from PEAR1 HTTP_Request) | ||
|
||
Additional adapters: | ||
|
||
* PEAR2\HTTP\Request\Adapter\Filesystem (useful for mock Internet interaction) | ||
</d> | ||
<da>2011-11-16 21:18:25</da> | ||
<n>Bugs/Features: | ||
|
||
* Correct format of headers passed when setting CURLOPT_HTTPHEADER [amir] | ||
* Make all adapters send a disconnect notification [fpoirotte] | ||
* Fix "filesize" notification in cURL adapter. [fpoirotte] | ||
</n> | ||
<f>46309</f> | ||
<g>http://pear2.php.net/get/PEAR2_HTTP_Request-0.3.0</g> | ||
<x xlink:href="package.0.3.0.xml"/> | ||
</r> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
0.2.0 | ||
0.3.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
a:1:{s:8:"required";a:2:{s:3:"php";a:1:{s:3:"min";s:5:"5.3.0";}s:13:"pearinstaller";a:1:{s:3:"min";s:7:"2.0.0a1";}}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
0.2.0 | ||
0.3.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,129 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<package xmlns="http://pear.php.net/dtd/package-2.1" xmlns:tasks="http://pear.php.net/dtd/tasks-1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="2.1" xsi:schemaLocation="http://pear.php.net/dtd/tasks-1.0 http://pear.php.net/dtd/tasks-1.0.xsd http://pear.php.net/dtd/package-2.1 http://pear.php.net/dtd/package-2.1.xsd" packagerversion="2.0.0"> | ||
<name>PEAR2_HTTP_Request</name> | ||
<channel>pear2.php.net</channel> | ||
<summary>Class to perform HTTP requests. Uses an adapter based system for performing those requests | ||
</summary> | ||
<description> | ||
Please see the examples dir for basic usage | ||
|
||
Adapters are available for based on the following code and are used in this order: | ||
|
||
* PEAR2\HTTP\Request\Adapter\Http (uses the Pecl Http class) | ||
* PEAR2\HTTP\Request\Adapter\Curl (based on the curl extension, not complete) | ||
* PEAR2\HTTP\Request\Adapter\Phpstream (based on the http php stream code) | ||
* PEAR2\HTTP\Request\Adapter\Phpsocket (based on php sockets, built from PEAR1 HTTP_Request) | ||
|
||
Additional adapters: | ||
|
||
* PEAR2\HTTP\Request\Adapter\Filesystem (useful for mock Internet interaction) | ||
</description> | ||
<lead> | ||
<name>Joshua Eichorn</name> | ||
<user>jeichorn</user> | ||
<email>josh@bluga.net</email> | ||
<active>yes</active> | ||
</lead> | ||
<lead> | ||
<name>David Coallier</name> | ||
<user>davidc</user> | ||
<email>davidc@php.net</email> | ||
<active>yes</active> | ||
</lead> | ||
<helper> | ||
<name>Richard Heyes</name> | ||
<user>rheyes</user> | ||
<email>richard@php.net</email> | ||
<active>yes</active> | ||
</helper> | ||
<helper> | ||
<name>Alexey Borzov</name> | ||
<user>avb</user> | ||
<email>borz_off@cs.msu.su</email> | ||
<active>yes</active> | ||
</helper> | ||
<helper> | ||
<name>Elizabeth Marie Smith</name> | ||
<user>auroraeosrose</user> | ||
<email>auroraeosrose@php.net</email> | ||
<active>yes</active> | ||
</helper> | ||
<helper> | ||
<name>Brett Bieber</name> | ||
<user>saltybeagle</user> | ||
<email>saltybeagle@php.net</email> | ||
<active>yes</active> | ||
</helper> | ||
<date>2011-11-16</date> | ||
<time>21:18:25</time> | ||
<version> | ||
<release>0.3.0</release> | ||
<api>0.1.0</api> | ||
</version> | ||
<stability> | ||
<release>alpha</release> | ||
<api>alpha</api> | ||
</stability> | ||
<license uri="http://www.opensource.org/licenses/bsd-license.php">New BSD License</license> | ||
<notes>Bugs/Features: | ||
|
||
* Correct format of headers passed when setting CURLOPT_HTTPHEADER [amir] | ||
* Make all adapters send a disconnect notification [fpoirotte] | ||
* Fix "filesize" notification in cURL adapter. [fpoirotte] | ||
</notes> | ||
<contents> | ||
<dir name="/"> | ||
<file role="test" name="test/pear2.php.net/PEAR2_HTTP_Request/_setup.php"/> | ||
<file role="test" name="test/pear2.php.net/PEAR2_HTTP_Request/testFiles/test003.png"/> | ||
<file role="test" name="test/pear2.php.net/PEAR2_HTTP_Request/testFiles/test002.php"/> | ||
<file role="test" name="test/pear2.php.net/PEAR2_HTTP_Request/testFiles/test001.html"/> | ||
<file role="test" name="test/pear2.php.net/PEAR2_HTTP_Request/testFiles/mktestFiles.sh"/> | ||
<file role="test" name="test/pear2.php.net/PEAR2_HTTP_Request/testFiles/2meg.bin"/> | ||
<file role="test" name="test/pear2.php.net/PEAR2_HTTP_Request/shared/post.001.php"/> | ||
<file role="test" name="test/pear2.php.net/PEAR2_HTTP_Request/shared/get.002.php"/> | ||
<file role="test" name="test/pear2.php.net/PEAR2_HTTP_Request/shared/get.001.php"/> | ||
<file role="test" name="test/pear2.php.net/PEAR2_HTTP_Request/phpstream/post.001.phpt"/> | ||
<file role="test" name="test/pear2.php.net/PEAR2_HTTP_Request/phpstream/get.002.phpt"/> | ||
<file role="test" name="test/pear2.php.net/PEAR2_HTTP_Request/phpstream/get.001.phpt"/> | ||
<file role="test" name="test/pear2.php.net/PEAR2_HTTP_Request/phpsocket/post.001.phpt"/> | ||
<file role="test" name="test/pear2.php.net/PEAR2_HTTP_Request/phpsocket/get.002.phpt"/> | ||
<file role="test" name="test/pear2.php.net/PEAR2_HTTP_Request/phpsocket/get.001.phpt"/> | ||
<file role="test" name="test/pear2.php.net/PEAR2_HTTP_Request/http/post.001.phpt"/> | ||
<file role="test" name="test/pear2.php.net/PEAR2_HTTP_Request/http/get.002.phpt"/> | ||
<file role="test" name="test/pear2.php.net/PEAR2_HTTP_Request/http/get.001.phpt"/> | ||
<file role="test" name="test/pear2.php.net/PEAR2_HTTP_Request/headers.004.phpt"/> | ||
<file role="test" name="test/pear2.php.net/PEAR2_HTTP_Request/headers.003.phpt"/> | ||
<file role="test" name="test/pear2.php.net/PEAR2_HTTP_Request/headers.002.phpt"/> | ||
<file role="test" name="test/pear2.php.net/PEAR2_HTTP_Request/headers.001.phpt"/> | ||
<file role="test" name="test/pear2.php.net/PEAR2_HTTP_Request/get_large_file.phpt"/> | ||
<file role="php" name="php/PEAR2/HTTP/Request/Uri.php"/> | ||
<file role="php" name="php/PEAR2/HTTP/Request/Response.php"/> | ||
<file role="php" name="php/PEAR2/HTTP/Request/Listener.php"/> | ||
<file role="php" name="php/PEAR2/HTTP/Request/Headers.php"/> | ||
<file role="php" name="php/PEAR2/HTTP/Request/Exception.php"/> | ||
<file role="php" name="php/PEAR2/HTTP/Request/allfiles.php"/> | ||
<file role="php" name="php/PEAR2/HTTP/Request/Adapter/Phpstream.php"/> | ||
<file role="php" name="php/PEAR2/HTTP/Request/Adapter/Phpsocket.php"/> | ||
<file role="php" name="php/PEAR2/HTTP/Request/Adapter/Http.php"/> | ||
<file role="php" name="php/PEAR2/HTTP/Request/Adapter/Filesystem.php"/> | ||
<file role="php" name="php/PEAR2/HTTP/Request/Adapter/Curl.php"/> | ||
<file role="php" name="php/PEAR2/HTTP/Request/Adapter.php"/> | ||
<file role="php" name="php/PEAR2/HTTP/Request.php"/> | ||
<file role="doc" name="doc/pear2.php.net/PEAR2_HTTP_Request/examples/examples/post.php"/> | ||
<file role="doc" name="doc/pear2.php.net/PEAR2_HTTP_Request/examples/examples/head.php"/> | ||
<file role="doc" name="doc/pear2.php.net/PEAR2_HTTP_Request/examples/examples/get.php"/> | ||
<file role="doc" name="doc/pear2.php.net/PEAR2_HTTP_Request/examples/examples/adapter.php"/> | ||
</dir> | ||
</contents> | ||
<dependencies> | ||
<required> | ||
<php> | ||
<min>5.3.0</min> | ||
</php> | ||
<pearinstaller> | ||
<min>2.0.0a1</min> | ||
</pearinstaller> | ||
</required> | ||
</dependencies> | ||
<phprelease/> | ||
</package> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<r xmlns="http://pear.php.net/dtd/rest.release2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xlink="http://www.w3.org/1999/xlink" xsi:schemaLocation="http://pear.php.net/dtd/rest.release2 http://pear.php.net/dtd/rest.release2.xsd"> | ||
<p xlink:href="rest/p/pear2_http_request">PEAR2_HTTP_Request</p> | ||
<c>pear2.php.net</c> | ||
<v>0.3.0</v> | ||
<a>0.1.0</a> | ||
<mp>5.3.0</mp> | ||
<st>alpha</st> | ||
<l>New BSD License</l> | ||
<m>saltybeagle</m> | ||
<s>Class to perform HTTP requests. Uses an adapter based system for performing those requests | ||
</s> | ||
<d> | ||
Please see the examples dir for basic usage | ||
|
||
Adapters are available for based on the following code and are used in this order: | ||
|
||
* PEAR2\HTTP\Request\Adapter\Http (uses the Pecl Http class) | ||
* PEAR2\HTTP\Request\Adapter\Curl (based on the curl extension, not complete) | ||
* PEAR2\HTTP\Request\Adapter\Phpstream (based on the http php stream code) | ||
* PEAR2\HTTP\Request\Adapter\Phpsocket (based on php sockets, built from PEAR1 HTTP_Request) | ||
|
||
Additional adapters: | ||
|
||
* PEAR2\HTTP\Request\Adapter\Filesystem (useful for mock Internet interaction) | ||
</d> | ||
<da>2011-11-16 21:18:25</da> | ||
<n>Bugs/Features: | ||
|
||
* Correct format of headers passed when setting CURLOPT_HTTPHEADER [amir] | ||
* Make all adapters send a disconnect notification [fpoirotte] | ||
* Fix "filesize" notification in cURL adapter. [fpoirotte] | ||
</n> | ||
<f>46309</f> | ||
<g>http://pear2.php.net/get/PEAR2_HTTP_Request-0.3.0</g> | ||
<x xlink:href="package.0.3.0.xml"/> | ||
</r> |