1 <?xml version=
"1.0" encoding=
"ISO-8859-1" ?>
2 <package version=
"2.0" xmlns=
"http://pear.php.net/dtd/package-2.0"
3 xmlns:
tasks=
"http://pear.php.net/dtd/tasks-1.0"
4 xmlns:
xsi=
"http://www.w3.org/2001/XMLSchema-instance"
6 http://pear.php.net/dtd/tasks-1.0
7 http://pear.php.net/dtd/tasks-1.0.xsd
8 http://pear.php.net/dtd/package-2.0
9 http://pear.php.net/dtd/package-2.0.xsd">
10 <name>pecl_http
</name>
11 <channel>pecl.php.net
</channel>
12 <summary>Extended HTTP Support
</summary>
13 <description><![CDATA[
14 This HTTP extension aims to provide a convenient and powerful
15 set of functionality for one of PHPs major applications.
17 It eases handling of HTTP urls, dates, redirects, headers and
18 messages, provides means for negotiation of clients preferred
19 language and charset, as well as a convenient way to send any
20 arbitrary data with caching and resuming capabilities.
22 It provides powerful request functionality, if built with CURL
23 support. Parallel requests are available for PHP-
5 and greater.
26 HttpUtil, HttpMessage, HttpRequest, HttpRequestPool,
27 HttpDeflateStream, HttpInflateStream, HttpQueryString
33 <name>Michael Wallner
</name>
35 <email>mike@php.net
</email>
38 <date>2006-
00-
00</date>
40 <release>0.23.0</release>
44 <release>beta
</release>
47 <license>BSD, revised
</license>
49 + Added 'etag' request option.
50 + Added 'encodecookies' request option (defaults to true).
51 + Added missing accessors for response status text to HttpMessage and HttpRequest classes.
52 + Added HttpMessage::reverse().
54 - Reimplemented http_parse_cookie().
55 - Changed HttpRequest::getResponseCookie() to HttpRequest::getResponseCookies(),
56 compliant to http_parse_cookie().
57 - http_build_url() now tries to
"resolve" public hostname prior falling back
58 to localhost if neither HTTP_HOST nor SERVER_NAME is set.
60 * Fixed PHP-
4.4 and PHP-
5.0 build.
64 <file role=
"doc" name=
"LICENSE"/>
65 <file role=
"doc" name=
"CREDITS"/>
66 <file role=
"doc" name=
"EXPERIMENTAL"/>
67 <file role=
"doc" name=
"KnownIssues.txt"/>
68 <file role=
"doc" name=
"docs/http.ini"/>
69 <file role=
"doc" name=
"docs/functions.html"/>
70 <file role=
"doc" name=
"docs/examples/extract.php"/>
71 <file role=
"doc" name=
"docs/examples/tutorial.txt"/>
73 <file role=
"src" name=
"http.dsp"/>
74 <file role=
"src" name=
"config.w32"/>
75 <file role=
"src" name=
"config.m4"/>
76 <file role=
"src" name=
"Makefile.frag"/>
79 <file role=
"src" name=
"phpstr.h"/>
80 <file role=
"src" name=
"phpstr.c"/>
83 <file role=
"src" name=
"missing.h"/>
84 <file role=
"src" name=
"missing.c"/>
86 <file role=
"src" name=
"php_http.h"/>
87 <file role=
"src" name=
"php_http_std_defs.h"/>
88 <file role=
"src" name=
"php_http_api.h"/>
89 <file role=
"src" name=
"php_http_cache_api.h"/>
90 <file role=
"src" name=
"php_http_cookie_api.h"/>
91 <file role=
"src" name=
"php_http_date_api.h"/>
92 <file role=
"src" name=
"php_http_encoding_api.h"/>
93 <file role=
"src" name=
"php_http_filter_api.h"/>
94 <file role=
"src" name=
"php_http_headers_api.h"/>
95 <file role=
"src" name=
"php_http_info_api.h"/>
96 <file role=
"src" name=
"php_http_message_api.h"/>
97 <file role=
"src" name=
"php_http_request_api.h"/>
98 <file role=
"src" name=
"php_http_request_body_api.h"/>
99 <file role=
"src" name=
"php_http_request_method_api.h"/>
100 <file role=
"src" name=
"php_http_request_pool_api.h"/>
101 <file role=
"src" name=
"php_http_send_api.h"/>
102 <file role=
"src" name=
"php_http_url_api.h"/>
103 <file role=
"src" name=
"php_http_util_object.h"/>
104 <file role=
"src" name=
"php_http_deflatestream_object.h"/>
105 <file role=
"src" name=
"php_http_inflatestream_object.h"/>
106 <file role=
"src" name=
"php_http_message_object.h"/>
107 <file role=
"src" name=
"php_http_querystring_object.h"/>
108 <file role=
"src" name=
"php_http_request_object.h"/>
109 <file role=
"src" name=
"php_http_requestpool_object.h"/>
110 <file role=
"src" name=
"php_http_response_object.h"/>
111 <file role=
"src" name=
"php_http_exception_object.h"/>
113 <file role=
"src" name=
"http.c"/>
114 <file role=
"src" name=
"http_functions.c"/>
115 <file role=
"src" name=
"http_api.c"/>
116 <file role=
"src" name=
"http_cache_api.c"/>
117 <file role=
"src" name=
"http_cookie_api.c"/>
118 <file role=
"src" name=
"http_date_api.c"/>
119 <file role=
"src" name=
"http_encoding_api.c"/>
120 <file role=
"src" name=
"http_filter_api.c"/>
121 <file role=
"src" name=
"http_headers_api.c"/>
122 <file role=
"src" name=
"http_info_api.c"/>
123 <file role=
"src" name=
"http_message_api.c"/>
124 <file role=
"src" name=
"http_request_api.c"/>
125 <file role=
"src" name=
"http_request_body_api.c"/>
126 <file role=
"src" name=
"http_request_method_api.c"/>
127 <file role=
"src" name=
"http_request_pool_api.c"/>
128 <file role=
"src" name=
"http_send_api.c"/>
129 <file role=
"src" name=
"http_url_api.c"/>
130 <file role=
"src" name=
"http_util_object.c"/>
131 <file role=
"src" name=
"http_deflatestream_object.c"/>
132 <file role=
"src" name=
"http_inflatestream_object.c"/>
133 <file role=
"src" name=
"http_message_object.c"/>
134 <file role=
"src" name=
"http_querystring_object.c"/>
135 <file role=
"src" name=
"http_request_object.c"/>
136 <file role=
"src" name=
"http_requestpool_object.c"/>
137 <file role=
"src" name=
"http_response_object.c"/>
138 <file role=
"src" name=
"http_exception_object.c"/>
141 <file role=
"test" name=
"data.txt"/>
142 <file role=
"test" name=
"urls.txt"/>
143 <file role=
"test" name=
"skip.inc"/>
144 <file role=
"test" name=
"log.inc"/>
145 <file role=
"test" name=
"allowed_methods_001.phpt"/>
146 <file role=
"test" name=
"allowed_methods_001_logging.phpt"/>
147 <file role=
"test" name=
"allowed_methods_002.phpt"/>
148 <file role=
"test" name=
"allowed_methods_002_logging.phpt"/>
149 <file role=
"test" name=
"build_str_001.phpt"/>
150 <file role=
"test" name=
"build_url_001.phpt"/>
151 <file role=
"test" name=
"build_url_002.phpt"/>
152 <file role=
"test" name=
"build_url_003.phpt"/>
153 <file role=
"test" name=
"build_url_004.phpt"/>
154 <file role=
"test" name=
"chunked_decode_001.phpt"/>
155 <file role=
"test" name=
"chunked_decode_002.phpt"/>
156 <file role=
"test" name=
"chunked_decode_003.phpt"/>
157 <file role=
"test" name=
"chunked_decode_004.phpt"/>
158 <file role=
"test" name=
"cloning_001.phpt"/>
159 <file role=
"test" name=
"date_001.phpt"/>
160 <file role=
"test" name=
"date_002.phpt"/>
161 <file role=
"test" name=
"encoding_objects_001.phpt"/>
162 <file role=
"test" name=
"encodings.phpt"/>
163 <file role=
"test" name=
"etag_mode_001.phpt"/>
164 <file role=
"test" name=
"etag_mode_002.phpt"/>
165 <file role=
"test" name=
"etag_mode_003.phpt"/>
166 <file role=
"test" name=
"etag_mode_004.phpt"/>
167 <file role=
"test" name=
"etag_mode_011.phpt"/>
168 <file role=
"test" name=
"etag_mode_012.phpt"/>
169 <file role=
"test" name=
"etag_mode_013.phpt"/>
170 <file role=
"test" name=
"etag_mode_014.phpt"/>
171 <file role=
"test" name=
"etag_mode_031.phpt"/>
172 <file role=
"test" name=
"etag_mode_032.phpt"/>
173 <file role=
"test" name=
"etag_mode_033.phpt"/>
174 <file role=
"test" name=
"etag_mode_034.phpt"/>
175 <file role=
"test" name=
"etag_mode_041.phpt"/>
176 <file role=
"test" name=
"etag_mode_042.phpt"/>
177 <file role=
"test" name=
"etag_mode_043.phpt"/>
178 <file role=
"test" name=
"etag_mode_044.phpt"/>
179 <file role=
"test" name=
"exceptions.phpt"/>
180 <file role=
"test" name=
"get_request_data_001.phpt"/>
181 <file role=
"test" name=
"HttpMessage_001.phpt"/>
182 <file role=
"test" name=
"HttpMessage_002.phpt"/>
183 <file role=
"test" name=
"HttpMessage_003.phpt"/>
184 <file role=
"test" name=
"HttpMessage_004.phpt"/>
185 <file role=
"test" name=
"HttpMessage_005.phpt"/>
186 <file role=
"test" name=
"HttpMessage_006.phpt"/>
187 <file role=
"test" name=
"HttpMessage_007.phpt"/>
188 <file role=
"test" name=
"HttpQueryString_001.phpt"/>
189 <file role=
"test" name=
"HttpQueryString_002.phpt"/>
190 <file role=
"test" name=
"HttpRequest_001.phpt"/>
191 <file role=
"test" name=
"HttpRequest_002.phpt"/>
192 <file role=
"test" name=
"HttpRequest_003.phpt"/>
193 <file role=
"test" name=
"HttpRequest_004.phpt"/>
194 <file role=
"test" name=
"HttpRequest_005.phpt"/>
195 <file role=
"test" name=
"HttpRequest_006.phpt"/>
196 <file role=
"test" name=
"HttpRequest_007.phpt"/>
197 <file role=
"test" name=
"HttpRequest_008.phpt"/>
198 <file role=
"test" name=
"HttpRequest_009.phpt"/>
199 <file role=
"test" name=
"HttpRequestPool_001.phpt"/>
200 <file role=
"test" name=
"HttpRequestPool_002.phpt"/>
201 <file role=
"test" name=
"HttpRequestPool_003.phpt"/>
202 <file role=
"test" name=
"HttpRequestPool_004.phpt"/>
203 <file role=
"test" name=
"HttpRequestPool_005.phpt"/>
204 <file role=
"test" name=
"HttpResponse_001.phpt"/>
205 <file role=
"test" name=
"HttpResponse_002.phpt"/>
206 <file role=
"test" name=
"HttpResponse_003.phpt"/>
207 <file role=
"test" name=
"HttpResponse_004.phpt"/>
208 <file role=
"test" name=
"INI_001.phpt"/>
209 <file role=
"test" name=
"match_request_header_001.phpt"/>
210 <file role=
"test" name=
"negotiation_001.phpt"/>
211 <file role=
"test" name=
"ob_deflatehandler_001.phpt"/>
212 <file role=
"test" name=
"ob_inflatehandler_001.phpt"/>
213 <file role=
"test" name=
"parse_cookie_001.phpt"/>
214 <file role=
"test" name=
"parse_headers_001.phpt"/>
215 <file role=
"test" name=
"parse_message_001.phpt"/>
216 <file role=
"test" name=
"parse_message_002.phpt"/>
217 <file role=
"test" name=
"parse_message_003.phpt"/>
218 <file role=
"test" name=
"parse_message_004.phpt"/>
219 <file role=
"test" name=
"parse_message_005.phpt"/>
220 <file role=
"test" name=
"redirect_001.phpt"/>
221 <file role=
"test" name=
"redirect_001_logging.phpt"/>
222 <file role=
"test" name=
"redirect_002.phpt"/>
223 <file role=
"test" name=
"redirect_002_logging.phpt"/>
224 <file role=
"test" name=
"redirect_003.phpt"/>
225 <file role=
"test" name=
"redirect_003_logging.phpt"/>
226 <file role=
"test" name=
"redirect_011.phpt"/>
227 <file role=
"test" name=
"redirect_011_logging.phpt"/>
228 <file role=
"test" name=
"redirect_012.phpt"/>
229 <file role=
"test" name=
"redirect_012_logging.phpt"/>
230 <file role=
"test" name=
"redirect_013.phpt"/>
231 <file role=
"test" name=
"redirect_013_logging.phpt"/>
232 <file role=
"test" name=
"request_cookies.phpt"/>
233 <file role=
"test" name=
"request_etag.phpt"/>
234 <file role=
"test" name=
"request_gzip.phpt"/>
235 <file role=
"test" name=
"request_methods.phpt"/>
236 <file role=
"test" name=
"send_data_001.phpt"/>
237 <file role=
"test" name=
"send_data_002.phpt"/>
238 <file role=
"test" name=
"send_data_003.phpt"/>
239 <file role=
"test" name=
"send_data_004.phpt"/>
240 <file role=
"test" name=
"send_data_005.phpt"/>
241 <file role=
"test" name=
"send_data_006.phpt"/>
242 <file role=
"test" name=
"send_data_007_logging.phpt"/>
243 <file role=
"test" name=
"send_data_008.phpt"/>
244 <file role=
"test" name=
"send_data_009.phpt"/>
245 <file role=
"test" name=
"send_data_010.phpt"/>
246 <file role=
"test" name=
"send_data_011.phpt"/>
247 <file role=
"test" name=
"send_file_001.phpt"/>
248 <file role=
"test" name=
"send_file_002.phpt"/>
249 <file role=
"test" name=
"send_file_003.phpt"/>
250 <file role=
"test" name=
"send_file_004.phpt"/>
251 <file role=
"test" name=
"send_file_005.phpt"/>
252 <file role=
"test" name=
"send_file_006.phpt"/>
253 <file role=
"test" name=
"send_file_007.phpt"/>
254 <file role=
"test" name=
"send_file_008.phpt"/>
255 <file role=
"test" name=
"send_file_009.phpt"/>
256 <file role=
"test" name=
"send_file_010.phpt"/>
257 <file role=
"test" name=
"send_file_011.phpt"/>
258 <file role=
"test" name=
"send_file_012.phpt"/>
259 <file role=
"test" name=
"send_file_013.phpt"/>
260 <file role=
"test" name=
"stream_filters_001.phpt"/>
261 <file role=
"test" name=
"stream_filters_002.phpt"/>
262 <file role=
"test" name=
"stream_filters_003.phpt"/>
263 <file role=
"test" name=
"ut_HttpMessage.phpt"/>
264 <file role=
"test" name=
"ut_HttpUtil.phpt"/>
273 <exclude>6.0.0</exclude>
280 <extension><name>spl
</name></extension>
281 <extension><name>session
</name></extension>
282 <extension><name>hash
</name></extension>
285 <providesextension>http
</providesextension>
288 name=
"with-http-curl-requests"
289 prompt=
"whether to enable cURL HTTP requests; specify libcurl directory"
293 name=
"with-http-magic-mime"
294 prompt=
"whether to enable response content type guessing; specify libmagic directory"
298 name=
"with-http-zlib-compression"
299 prompt=
"whether to enable support for gzencoded/deflated message bodies; specify zlib directory"
303 <install as=
"http.ini" name=
"docs/http.ini"/>
304 <install as=
"functions.html" name=
"docs/functions.html"/>
305 <install as=
"examples/extract.php" name=
"docs/examples/extract.php"/>
306 <install as=
"examples/tutorial.txt" name=
"docs/examples/tutorial.txt"/>