-
Notifications
You must be signed in to change notification settings - Fork 5
/
package2.xml
407 lines (396 loc) · 13.8 KB
/
package2.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
<?xml version="1.0" encoding="UTF-8"?>
<package packagerversion="1.4.11" version="2.0" xmlns="http://pear.php.net/dtd/package-2.0" xmlns:tasks="http://pear.php.net/dtd/tasks-1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 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.0
http://pear.php.net/dtd/package-2.0.xsd">
<name>HTTP_Request</name>
<channel>pear.php.net</channel>
<summary>Provides an easy way to perform HTTP requests</summary>
<description>Supports GET/POST/HEAD/TRACE/PUT/DELETE, Basic authentication, Proxy,
Proxy Authentication, SSL, file uploads etc.
</description>
<lead>
<name>Richard Heyes</name>
<user>richard</user>
<email>[email protected]</email>
<active>no</active>
</lead>
<lead>
<name>Alexey Borzov</name>
<user>avb</user>
<email>[email protected]</email>
<active>yes</active>
</lead>
<date>2008-11-17</date>
<version>
<release>1.4.4</release>
<api>1.4.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="http://www.opensource.org/licenses/bsd-license.php">BSD</license>
<notes>
Development of HTTP_Request package is halted, only bug fixing will be done.
Please submit feature requests for HTTP_Request2 package.
Fixes:
* Improved memory usage of _buildRequest() method (bug #14574)
* Clarified documentation for addFile() method to mention that it is useful
only for POST method file uploads (bug #14635)
* Do not send "Content-Length: 0" header for methods other than
POST and PUT, as some servers may return error 400 (bug #14740)
</notes>
<contents>
<dir name="/">
<dir name="docs">
<file baseinstalldir="HTTP" name="download-progress.php" role="doc"/>
<file baseinstalldir="HTTP" name="example.php" role="doc"/>
</dir>
<dir name="Request">
<file baseinstalldir="HTTP" name="Listener.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
</dir>
<file baseinstalldir="HTTP" name="Request.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
</dir>
</contents>
<dependencies>
<required>
<php>
<min>4.2.0</min>
</php>
<pearinstaller>
<min>1.4.3</min>
</pearinstaller>
<package>
<name>Net_URL</name>
<channel>pear.php.net</channel>
<min>1.0.12</min>
</package>
<package>
<name>Net_Socket</name>
<channel>pear.php.net</channel>
<min>1.0.7</min>
</package>
</required>
</dependencies>
<phprelease/>
<changelog>
<release>
<version>
<release>1.4.3</release>
<api>1.4.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<date>2008-07-21</date>
<license uri="http://www.opensource.org/licenses/bsd-license.php">BSD</license>
<notes>
* Added possibility to get reason phrase from HTTP response (request #12352)
* PHP 4.2.0 should be the minimal PHP version (bug #12354), also updated other
dependencies' versions to saner values
* Send a Content-Length header in request even if body is empty (request #12900)
* Do not pass length parameter to gzinflate(), it could cause problems in some
corner cases (bugs #13135, #14370)
* Return an error if trying to do a HTTPS request without OpenSSL support
(bug #14127)
* Do not stop reading chunked response body prematurely (bug #14200)
</notes>
</release>
<release>
<version>
<release>1.4.2</release>
<api>1.4.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<date>2007-10-26</date>
<license uri="http://www.opensource.org/licenses/bsd-license.php">BSD</license>
<notes>
* The final CRLF was not properly added to request headers on POST request
with no post data (Thanks to Brock Weaver)
* Added error codes (request #12335, thanks to Joe Stump for the patch)
* HTTP_Request sent broken requests on redirects with no trailing slash
(bug #12308, thanks to Joe Stump for the patch)
* Requests with a body consisting of only a symbol '0' were sent without body
(reported privately by Sam Ghods)
* download-progress.php example was broken since 1.4.0 due to addition of
'connect' and 'disconnect' events. Now works again.
</notes>
</release>
<release>
<version>
<release>1.4.1</release>
<api>1.4.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<date>2007-05-18</date>
<license uri="http://www.opensource.org/licenses/bsd-license.php">BSD</license>
<notes>
* Removed bogus parameter for getURL() (Bug #9586, thanks to Martin Jansen)
* Improved API documentation (Bug #9984, thanks to Martin Jansen)
* Fixed wrong Content-Length if using mbstring function overloading (bug #10605)
* Fixed bogus "data CRC check failed" error on 64-bit systems (bug #10790,
thanks to Bill Moran)
* Redone the way package handles mbstring function overloading, this will allow
using gzip Content-Encoding when said overloading is switched on
* Added proper header comment blocks, improved phpdoc comments
</notes>
</release>
<release>
<version>
<release>1.4.0</release>
<api>1.4.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<date>2006-10-25</date>
<license uri="http://www.opensource.org/licenses/bsd-license.php">BSD</license>
<notes>
* Added Keep-Alive support (request #4806), thanks to Justin Patrin for the
initial patch. Please note that "Connection: close" header is still added
by default, you need to explicitly add "Connection: Keep-Alive" header or
remove "Connection" header if using HTTP 1.1
* A new disconnect() method was added which forces disconnection from the
server if Keep-Alive is used. Also two new events are sent to the Listeners:
"connect" and "disconnect"
* Added getUrl() method (request #6589)
* Added method to properly parse header of gzip-encoded data (see RFC 1952).
This takes care of situations when the server adds some additional data
to the header (bug #8245) or sends data that is not gzip-encoded when
"Content-Encoding: gzip" header is present (bug #8213)
* "Proxy-Authorization" header is now properly set by constructor
(bug #5913)
* Fixed doc comments mentioning addBody() method instead of proper setBody()
(bug #5969)
* Fixed erroneous removal of "Content-Type" header from request
(bug #7922)
* Bogus HTTP headers are now ignored (bug #8214)
* Path is set to "/" if an URL without path (http://www.example.com)
is given (bug #8662)
* Moved to package.xml version 2.0
</notes>
</release>
<release>
<version>
<release>1.3.0</release>
<api>1.3.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<date>2005-11-06</date>
<license uri="http://www.opensource.org/licenses/bsd-license.php">BSD</license>
<notes>
* All request and response headers are now treated case-insensitively,
per RFC 2616 (bug #1045, bug #4367).
* Values of multiple response headers with the same name are combined
into a comma-separated string per RFC 2616 (bug #1045)
* Generate proper closing boundary for multipart/form-data requests,
per RFC 1521 (bug #4397)
* magic_quotes_runtime directive is switched off when performing the
request since it may break file uploads and chunked responses (bug #4543)
* Response::_readChunked() will finish on zero-length chunk rather than
socket eof (patch from bug #3037)
* Added HTTP_Request::setBody() method, deprecated addRawPostData() due to
misleading name. The request body will be sent with all request methods
except those that explicitly forbid this (e.g. TRACE). Data set via
addPostData() / addFile() will only be sent with POST (see request #4716)
</notes>
</release>
<release>
<version>
<release>1.2.4</release>
<api>1.2.4</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<date>2004-12-30</date>
<license uri="http://www.opensource.org/licenses/bsd-license.php">BSD</license>
<notes>* Notice was raised when processing a response containing secure
cookies (bug #2741)
* Warning was raised when processing a response with empty body and
chunked Transfer-encoding (bug #2792)
* Improved inline documentation on constructor parameters (bug #2751)
</notes>
</release>
<release>
<version>
<release>1.2.3</release>
<api>1.2.3</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<date>2004-10-01</date>
<license uri="http://www.opensource.org/licenses/bsd-license.php">BSD</license>
<notes>* Auth information is properly extracted from URLs of the form http://user:pass@host/
(bug #1507)
* Connection to server is closed after performing request (bug #1692)
* Use correct argument separator for generated query stings (bug #1857, see
also bug #704 for Net_URL)
* Do not use gzip encoding if certain string functions are overloaded by
mbstring extension (bug #1781)
* addPostData() now properly handles multidimensional arrays (bug #2233)
</notes>
</release>
<release>
<version>
<release>1.2.2</release>
<api>1.2.2</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<date>2004-05-19</date>
<license uri="http://www.opensource.org/licenses/bsd-license.php">BSD</license>
<notes>Bug fixes:
* Fixed #1037 (unable to connect to port 80 through HTTPS). This relies
on fix for Net_URL bug #1036, thus Net_URL 1.0.12 is now required.
* Fixed #1333 (sending POST data on non-POST requests).
* Fixed #1433 (overwriting the variable name when adding multiple files
for upload).
</notes>
</release>
<release>
<version>
<release>1.2.1</release>
<api>1.2.1</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<date>2004-04-29</date>
<license uri="http://www.opensource.org/licenses/bsd-license.php">BSD</license>
<notes>Additions and changes:
* Applied patch from #851 (First parameter of constructor is now optional)
* Implemented #526 (It is now possible to set timeout on socket, via
parameter readTimeout)
* Implemented #1141 (It is now possible to pass options to socket via
parameter socketOptions, Net_Socket 1.0.2 is needed for this functionality)
Fixes:
* Fixed #842 (Doc comments incorrectly described the possible return values)
* Fixed #1152 (Incorrect handling of cookies with '=' in value)
* Fixed #1158 (Cookie parameters are not necessarily lowercase)
* Fixed #1080 (Cookies should not be urlencoded/urldecoded)
</notes>
</release>
<release>
<version>
<release>1.2</release>
<api>1.2</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<date>2003-10-27</date>
<license uri="http://www.opensource.org/licenses/bsd-license.php">BSD</license>
<notes>Feature additions:
* Support for multipart/form-data POST requests and file uploads (partly based on Christian Stocker's work)
* Brackets [] after array variables are optional (on by default, controlled by useBrackets parameter)
* HTTP_Request now implements a Subject-Observer design pattern. It is possible to add Listeners
to the Request object to e.g. draw a progress bar when downloading a large file. This is partly
based on Stefan Walk's work. A usage example for this is available.
Migration to 1.2:
* Redirect support is now OFF by default
* Redirect support is DEPRECATED
* Methods clearCookies(), clearPostData(), reset() are DEPRECATED
Fixes:
* Fixed PEAR bug #18 (Lowercased headers, fix by Dave Mertens)
* Fixed PEAR bug #131 (Domain without trailing slash)
* Fixed PHP bug #25486 (100 Continue handling)
* Fixed PEAR bug #150 (Notices being generated)
* Fixed problems with HTTP responses without bodies
</notes>
</release>
<release>
<version>
<release>1.1.1</release>
<api>1.1.1</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<date>2003-01-30</date>
<license uri="http://www.opensource.org/licenses/bsd-license.php">BSD</license>
<notes>Added redirect support. Net_URL 1.0.7 is now required.
</notes>
</release>
<release>
<version>
<release>1.1.0</release>
<api>1.1.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<date>2003-01-20</date>
<license uri="http://www.opensource.org/licenses/bsd-license.php">BSD</license>
<notes>Added SSL support as long as you have PHP 4.3.0+ and the OpenSSL extension. Net_URL 1.0.6 is now required.
</notes>
</release>
<release>
<version>
<release>1.0.2</release>
<api>1.0.2</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<date>2002-09-16</date>
<license uri="http://www.opensource.org/licenses/bsd-license.php">BSD</license>
<notes>Added cookie support
</notes>
</release>
<release>
<version>
<release>1.0.1</release>
<api>1.0.1</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<date>2002-07-27</date>
<license uri="http://www.opensource.org/licenses/bsd-license.php">BSD</license>
<notes>License change
</notes>
</release>
<release>
<version>
<release>1.0</release>
<api>1.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<date>2002-02-17</date>
<license uri="http://www.php.net/license">PHP License</license>
<notes>Initial release of the HTTP_Request package.
</notes>
</release>
</changelog>
</package>