| 1 |
Revision history for Perl module Furl |
| 2 |
|
| 3 |
3.15 2025-09-25T00:24:03Z |
| 4 |
- Fix the issue that when timeout happens, then request method returns success when |
| 5 |
there is no Content-Length headers(#137) |
| 6 |
|
| 7 |
3.14 2021-05-13T05:30:22Z |
| 8 |
- Support 308 HTTP status code |
| 9 |
|
| 10 |
3.13 2017-09-19T06:31:34Z |
| 11 |
|
| 12 |
- Fixed test code(skaji++) |
| 13 |
|
| 14 |
3.12 2017-09-13T06:58:15Z |
| 15 |
|
| 16 |
commit 88cd747c78d80675c1aa4953083af16f70085252 |
| 17 |
Author: Shoichi Kaji <[email protected]> |
| 18 |
Date: Mon Aug 14 00:50:55 2017 +0900 |
| 19 |
|
| 20 |
check whether sockets are readable or not before reusing them |
| 21 |
|
| 22 |
commit 90f3e48ce20845e0f11be40bb975f9c23c86ad8a |
| 23 |
Author: ktat <[email protected]> |
| 24 |
Date: Mon May 29 14:26:55 2017 +0900 |
| 25 |
|
| 26 |
uri_unescape user & password for Basic auth |
| 27 |
|
| 28 |
3.11 2017-05-16T23:54:24Z |
| 29 |
|
| 30 |
- added docs |
| 31 |
|
| 32 |
3.10 2017-04-05T16:52:32Z |
| 33 |
- Fix tests for newer Perl @INC issue |
| 34 |
|
| 35 |
3.09 2016-07-21T14:10:52Z |
| 36 |
|
| 37 |
- Support 1xx status |
| 38 |
- Fix test on Windows issue |
| 39 |
- Fix httpoxy |
| 40 |
|
| 41 |
3.08 2015-08-06T09:32:19Z |
| 42 |
|
| 43 |
- Handle cookies while redirection. |
| 44 |
(tokuhirom) |
| 45 |
- delete method accept message body |
| 46 |
(kimoto) |
| 47 |
|
| 48 |
3.07 2015-04-21T03:42:39Z |
| 49 |
|
| 50 |
- Depends on latest Test::TCP |
| 51 |
https://github.com/tokuhirom/Test-TCP/issues/31#issuecomment-94378132 |
| 52 |
|
| 53 |
3.06 2015-02-09T23:05:09Z |
| 54 |
|
| 55 |
commit 8a7786905c101eeab9db1d7baa8c4ec2076f9514 |
| 56 |
Author: Jari Salmela <[email protected]> |
| 57 |
Date: Fri Feb 6 08:36:55 2015 +0200 |
| 58 |
|
| 59 |
Update HTTP.pm |
| 60 |
|
| 61 |
fix for keep-alive as zmmail proposed. |
| 62 |
"In line 526 of Furl/HTTP.pm, FURL checks the HTTP response headers it gets from the server. It will read the C |
| 63 |
onnection from the response header there, and compare the header value with the string keep-alive. The problem is t |
| 64 |
hat this does not take into account a different case of the response header. Some HTTP server returns a header value |
| 65 |
e of Keep-Alive (mind the caps), so FURL does not recognize it properly. |
| 66 |
|
| 67 |
I think the following change to Furl/HTTP.pm is more robust. |
| 68 |
|
| 69 |
if ($connection_header eq 'keep-alive') { |
| 70 |
if (lc($connection_header) eq 'keep-alive') {" |
| 71 |
|
| 72 |
commit 91ebdf86693c5bfbda497df167977813e2ad75aa |
| 73 |
Author: Kazuho Oku <[email protected]> |
| 74 |
Date: Wed Dec 24 16:26:07 2014 +0900 |
| 75 |
|
| 76 |
fix incorrect regex used for testing the response line (amends #80) |
| 77 |
|
| 78 |
commit 65d0bc170a6344ebd24e0726a44260f3771fda0b |
| 79 |
Author: HIROSE Masaaki <[email protected]> |
| 80 |
Date: Wed Dec 24 13:49:43 2014 +0900 |
| 81 |
|
| 82 |
Check only status code when connect SSL over proxy |
| 83 |
|
| 84 |
3.05 2014-09-24T03:47:02Z |
| 85 |
|
| 86 |
- Validate content-length before processing. |
| 87 |
(Implemented by tokuhirom) |
| 88 |
(Reviewed by kazuho++) |
| 89 |
|
| 90 |
3.04 2014-09-22T10:08:04Z |
| 91 |
|
| 92 |
- remove trailing whitespace of Authorization header |
| 93 |
(kazeburo++) |
| 94 |
|
| 95 |
3.03 2014-07-09T23:33:51Z |
| 96 |
|
| 97 |
commit 8da0f43f2a6b3f04806288ce63a7bdc4df7f9a46 |
| 98 |
Author: Toshio Ito <[email protected]> |
| 99 |
Date: Sat Jun 7 10:34:13 2014 +0900 |
| 100 |
|
| 101 |
t/100_low/07_timeout.t: iteratively increase content size instead of guessing the size of the se |
| 102 |
c.f: gh #71, gh #56 |
| 103 |
|
| 104 |
3.02 2014-03-18T20:52:07Z |
| 105 |
|
| 106 |
- Added new experimental cookie_jar support. |
| 107 |
(tokuhirom) |
| 108 |
|
| 109 |
3.01 2014-02-13T06:19:47Z |
| 110 |
|
| 111 |
- Fixed documentation bug(Reported by Yappo++) |
| 112 |
|
| 113 |
3.00 2013-11-13T09:39:38Z |
| 114 |
|
| 115 |
- implement inactivity_timeout (for read / write), requested by autarch++ |
| 116 |
(kazuho) |
| 117 |
- Implemented a new callback called `get_address`. |
| 118 |
That fixes the two shortcomings of the existing inet_aton callback listed below. |
| 119 |
|
| 120 |
* cannot override the port number |
| 121 |
* cannot support protocols other than IPv4 (e.g. IPv6, unix socket, ...) |
| 122 |
(kazuho) |
| 123 |
|
| 124 |
2.19 2013-08-26T02:10:09Z |
| 125 |
|
| 126 |
- Testing fix for Starlet >= 0.20. |
| 127 |
force response HTTP/1.0. Starlet >= 0.20 support HTTP/1.1 |
| 128 |
(kazeburo) |
| 129 |
|
| 130 |
2.18 2013-08-08T07:11:30Z |
| 131 |
|
| 132 |
- Furl::Response::decoded_content returns undef if user specifies |
| 133 |
'Accept-Encoding' for data compression. Because content is already |
| 134 |
inflated, so HTTP::Message::decoded_content failed and return undef. |
| 135 |
(syohex) |
| 136 |
|
| 137 |
2.17 2013-07-01T03:11:49Z |
| 138 |
|
| 139 |
- Fix Furl::Request#as_string the request contains ARRAY or HASH. |
| 140 |
(tokuhirom) |
| 141 |
|
| 142 |
2.16 2013-05-22T07:48:21Z |
| 143 |
|
| 144 |
- Fix timeout problem(#56) on recent Linux(3.8 or later) |
| 145 |
(syohex) |
| 146 |
- Added Furl::Request#as_string |
| 147 |
(tokuhirom) |
| 148 |
|
| 149 |
2.15 2013-05-10T08:40:10Z |
| 150 |
|
| 151 |
- Added Furl::Response#as_string. |
| 152 |
(tokuhirom) |
| 153 |
|
| 154 |
2.14 2013-04-19T02:11:43Z |
| 155 |
|
| 156 |
- Fixed testing issue |
| 157 |
|
| 158 |
2.13 2013-04-17T07:52:37Z |
| 159 |
|
| 160 |
- Tiny test fix. |
| 161 |
(tokuhirom) |
| 162 |
|
| 163 |
2.12 2013-04-15T08:38:49Z |
| 164 |
|
| 165 |
- Clean up dependencies. |
| 166 |
I confused about 'recommends' and 'suggests'. |
| 167 |
Do not use 'recommends' for optional things. |
| 168 |
(tokuhirom) |
| 169 |
|
| 170 |
2.11 2013-04-04T03:02:13Z |
| 171 |
|
| 172 |
- [EXPERIMENTAL] Added Furl::Response#encoding |
| 173 |
(tokuhirom) |
| 174 |
|
| 175 |
2.10 2013-03-18T16:08:02 |
| 176 |
|
| 177 |
[INCOMPATIBLE CHANGES] |
| 178 |
- 'keep_request' parameter introduced in 2.08 was *removed*. |
| 179 |
- Furl::Response#request is always useful if you are using highlevel API. |
| 180 |
- Added Furl::Response#captured_req_content and |
| 181 |
Furl::Response#captured_req_headers |
| 182 |
|
| 183 |
2.09 2013-03-07T06:59:44 |
| 184 |
|
| 185 |
- switch to cpanfile(no feature changes) |
| 186 |
(tokuhirom) |
| 187 |
|
| 188 |
2.08 2013-03-06T18:42:22 |
| 189 |
|
| 190 |
- Added Furl::Request |
| 191 |
(ikasam_a) |
| 192 |
|
| 193 |
2.07 2013-03-02T18:52:33 |
| 194 |
|
| 195 |
- added Furl::Response#to_psgi |
| 196 |
(tokuhirom) |
| 197 |
|
| 198 |
2.06 2013-02-14T19:01:27 |
| 199 |
|
| 200 |
- Added Furl::Response#as_hashref |
| 201 |
|
| 202 |
2.05 2013-02-12T15:00:31 |
| 203 |
|
| 204 |
[EXPERIMENTAL FEATURE] |
| 205 |
- Add "X-Internal-Response: 1" header for |
| 206 |
Internal response. It's compatible with LWP. |
| 207 |
(tokuhirom) |
| 208 |
- Reverted Client-Warning header introduced in 2.04 |
| 209 |
|
| 210 |
2.04 2013-02-12T14:28:53 |
| 211 |
|
| 212 |
[EXPERIMENTAL FEATURE] |
| 213 |
- Add "Client-Warning: Internal Response" header for |
| 214 |
Internal response. It's compatible with LWP. |
| 215 |
(tokuhirom) |
| 216 |
|
| 217 |
2.03 2013-02-09T18:17:13 |
| 218 |
|
| 219 |
- Support URL based authorization. |
| 220 |
Both Proxy-Authorization and Basic Authorization. |
| 221 |
|
| 222 |
2.02 2013-02-06T17:25:11 |
| 223 |
|
| 224 |
- Added Furl::Response#decoded_content |
| 225 |
(xaicron++) |
| 226 |
- Added Furl::Headers#clone |
| 227 |
(tokuhirom) |
| 228 |
|
| 229 |
2.01 2013-01-23T19:17:47 |
| 230 |
|
| 231 |
|
| 232 |
- pass SSL_verifycn_name on connecting ssl over proxy. |
| 233 |
IO::Socket::SSL detects host name from PeerHost, but it can't when user |
| 234 |
is using proxy. |
| 235 |
(aska++) |
| 236 |
- SSL_verifycn_scheme is not required if skipping verification |
| 237 |
if skip verification, does not requires SSL_verifycn_scheme |
| 238 |
(kazeburo++) |
| 239 |
|
| 240 |
|
| 241 |
2.00 2013-01-23T15:46:46 |
| 242 |
|
| 243 |
*** VERY IMPORTANT INCOMPATIBLE CHANGE *** |
| 244 |
- Furl verify SSL certs by default. |
| 245 |
If it's fail, furl returns error response. |
| 246 |
(tokuhirom) |
| 247 |
*** VERY IMPORTANT INCOMPATIBLE CHANGE *** |
| 248 |
|
| 249 |
1.04 2013-01-22 |
| 250 |
|
| 251 |
- use `ssl_opts` option in SSL over http proxy |
| 252 |
(aska++) |
| 253 |
|
| 254 |
1.03 2013-01-12 |
| 255 |
|
| 256 |
- fixed testing issue on perl 5.18 hash randomization |
| 257 |
(gfx) |
| 258 |
|
| 259 |
1.02 2013-01-07 |
| 260 |
|
| 261 |
- Use Mozilla::CA if SSL_ca_file and SSL_ca_path is not set. |
| 262 |
This behavior respects LWP::Protocol::https. |
| 263 |
(tokuhirom) |
| 264 |
|
| 265 |
1.01 2013-01-03 |
| 266 |
|
| 267 |
- added `ssl_opts` option to configuring IO::Socket::SSL |
| 268 |
(gfx) |
| 269 |
|
| 270 |
1.00 2012-10-19 |
| 271 |
|
| 272 |
- Bump up version |
| 273 |
|
| 274 |
0.42 2012-10-15 |
| 275 |
|
| 276 |
[INCOMPATIBLE CHANGE] |
| 277 |
- Furl::HTTP is no longer reading Furl.pm. |
| 278 |
This change may breaks your code. |
| 279 |
If you are using Furl class without loading Furl::HTTP, |
| 280 |
it will fail after this release. |
| 281 |
|
| 282 |
0.41 2012-09-25 |
| 283 |
|
| 284 |
[BUG FIX] |
| 285 |
- Furl#agent does not works in past version. |
| 286 |
(Syohei YOSHIDA) |
| 287 |
|
| 288 |
0.40 2012-06-04 |
| 289 |
|
| 290 |
- fixed meta data(Slaven++) |
| 291 |
https://github.com/tokuhirom/Furl/issues/35 |
| 292 |
|
| 293 |
0.39 2012-05-29 |
| 294 |
|
| 295 |
- unexpected eof in reading chunked body. It makes busy loop. |
| 296 |
(kazeburo++) |
| 297 |
|
| 298 |
0.38 2011-09-05 |
| 299 |
|
| 300 |
- added ->agent method(bayashi++) |
| 301 |
|
| 302 |
0.37 2011-08-24 |
| 303 |
|
| 304 |
- fixed SSL closing issue |
| 305 |
(reported by sugyan++, resolved by kazuho++, and implemented by gfx++) |
| 306 |
|
| 307 |
0.36 2011-08-23 |
| 308 |
|
| 309 |
- win32 ssl proxy fix(mattn++) |
| 310 |
|
| 311 |
0.35 2011-08-11 |
| 312 |
|
| 313 |
- Compensate for slash of path-query.(xaicron) |
| 314 |
'http://example.com?foo=bar' → 'http://example.com/?foo=bar' |
| 315 |
|
| 316 |
0.34 2011-07-15 |
| 317 |
|
| 318 |
- accept the domain using '_' character(xaicron) |
| 319 |
|
| 320 |
0.33 2011-07-13 |
| 321 |
|
| 322 |
- support url doesn't have trailing slash |
| 323 |
like 'http://example.com?gfx=isogashi' |
| 324 |
(xaicron++) |
| 325 |
|
| 326 |
0.32 2011-05-30 |
| 327 |
|
| 328 |
- remove duplicated Host header on high level API(xaicron) |
| 329 |
|
| 330 |
0.31 2011-02-25 |
| 331 |
|
| 332 |
- CarpLevel++(xaicron) |
| 333 |
|
| 334 |
0.30 2011-02-25 |
| 335 |
|
| 336 |
- allow '0000000' as end of chunked response. |
| 337 |
|
| 338 |
0.29 2011-02-23 |
| 339 |
|
| 340 |
|
| 341 |
- move live tests to xt/. |
| 342 |
|
| 343 |
0.28 2011-02-22 |
| 344 |
|
| 345 |
- fixed bug on proxy with redirect(mattn) |
| 346 |
|
| 347 |
0.27 2011-02-20 |
| 348 |
|
| 349 |
- Add support for 307 (it was not handled as a redirect), |
| 350 |
with tests for all redirects. |
| 351 |
(307 is implemented the same as 301, |
| 352 |
preserving the original requesting method.) |
| 353 |
(audreyt++) |
| 354 |
|
| 355 |
0.26 2011-02-17 |
| 356 |
|
| 357 |
- tiny pod fix(tokuhirom) |
| 358 |
|
| 359 |
0.25 2011-02-16 |
| 360 |
|
| 361 |
- move fucking ssl test to xt/. |
| 362 |
|
| 363 |
0.24 2011-02-08 |
| 364 |
|
| 365 |
- workaround for windows (mattn++, xaicron++) |
| 366 |
|
| 367 |
0.23 2011-01-30 |
| 368 |
|
| 369 |
- properly implement Furl::env_proxy as |
| 370 |
a delegate to Furl::HTTP::env_proxy (as was already documented) |
| 371 |
(lestrrat) |
| 372 |
|
| 373 |
0.22 2011-01-25 |
| 374 |
|
| 375 |
- Remove default ports from the Host header |
| 376 |
|
| 377 |
0.21 2011-01-11 |
| 378 |
|
| 379 |
- use keep-alive on redirection, do not activate the "write_code" |
| 380 |
or the "write_func" feature when redirection(kazuho) |
| 381 |
- silently try to resend a request only when the server returned |
| 382 |
no respnose at all(kazuho) |
| 383 |
|
| 384 |
0.20 2010-12-20 |
| 385 |
|
| 386 |
- add internal error response message to status message |
| 387 |
(tokuhirom) |
| 388 |
|
| 389 |
0.19 2010-12-20 |
| 390 |
|
| 391 |
- fixed documentation bug(tokuhirom) |
| 392 |
- erroneously returned 500 error when closing of the socket was used |
| 393 |
to indicate eof (i.e. no Content-Encoding or Content-Length) |
| 394 |
(Kazuho Oku) |
| 395 |
|
| 396 |
0.18 2010-12-06 |
| 397 |
|
| 398 |
|
| 399 |
- fixed testing issue(reported by many people) |
| 400 |
|
| 401 |
0.17 2010-12-03 |
| 402 |
|
| 403 |
- only send the connection header with the highest precedence |
| 404 |
(Furl::request => Furl::new) |
| 405 |
(Kazuho Oku) |
| 406 |
- close the connection when furl requested as such, |
| 407 |
even if the server sent "connection: keep-alive" |
| 408 |
(Kazuho Oku) |
| 409 |
- support keep-alive for |
| 410 |
$furl->request(method => 'HEAD', headers => [ qw(connection keep-alive) ]) |
| 411 |
(Kazuho Oku) |
| 412 |
- always send the connection header |
| 413 |
(support for automatic keep-alive with HTTP/1.0 servers) |
| 414 |
(Kazuho Oku) |
| 415 |
|
| 416 |
0.16 2010-12-01 |
| 417 |
|
| 418 |
- support for status codes wo. content(kazuho oku) |
| 419 |
|
| 420 |
0.15 2010-11-28 |
| 421 |
|
| 422 |
- doc enhancements(tokuhirom) |
| 423 |
|
| 424 |
0.14 2010-11-22 |
| 425 |
|
| 426 |
- changed the semantics of the "timeout" parameter from per-IO timeout |
| 427 |
to request timeout(Kazuho Oku) |
| 428 |
- optional support for name resolution timeouts |
| 429 |
using Net::DNS::Lite(Kazuho Oku) |
| 430 |
- make blocking operations cancellable (through the "stop_if" |
| 431 |
callback)(Kazuho Oku) |
| 432 |
|
| 433 |
0.13 2010-11-15 |
| 434 |
|
| 435 |
- do not die when $content is empty string. |
| 436 |
|
| 437 |
0.12 2010-11-10 |
| 438 |
|
| 439 |
- fixed testing issue. |
| 440 |
|
| 441 |
0.11 2010-11-04 |
| 442 |
|
| 443 |
- fixed testing issue gh#6 |
| 444 |
(reported by ichesnokov) |
| 445 |
|
| 446 |
0.10 2010-11-02 |
| 447 |
|
| 448 |
- change request() to accept HTTP::Request, |
| 449 |
and remove request_with_http_request(lestrrat) |
| 450 |
- Furl::ConnPool.pm was renamed to Furl::ConnectionCache.pm(tokuhirom) |
| 451 |
|
| 452 |
0.09 2010-11-01 |
| 453 |
|
| 454 |
- fixed packaging. |
| 455 |
|
| 456 |
0.08 2010-11-01 |
| 457 |
|
| 458 |
- rewrote connection pooling strategy(tokuhirom) |
| 459 |
(suggested by kazuho++) |
| 460 |
- updated docs(tokuhirom) |
| 461 |
- support relative url in redirection #5(tokuhirom) |
| 462 |
|
| 463 |
0.07 2010-11-01 |
| 464 |
|
| 465 |
- Do not use reference_from, it makes installing issue(reported by y). |
| 466 |
http://github.com/tokuhirom/Furl/issues#issue/4 |
| 467 |
|
| 468 |
0.06 2010-10-31 |
| 469 |
|
| 470 |
- now Perl 5.8.1 or later is required.(tokuhirom) |
| 471 |
- High level interface is now available(tokuhirom) |
| 472 |
- Keep alive on HTTP/1.0(kazuho, gfx) |
| 473 |
- Retry requests if the connection is closed while in keep-alive(gfx) |
| 474 |
|
| 475 |
0.05 2010-10-30 |
| 476 |
|
| 477 |
- use HTTP::Parser::XS |
| 478 |
- optimization |
| 479 |
- users can be set your own special headers. |
| 480 |
- fixed Deep recursion when redirect over max_redirects. |
| 481 |
- now, header_get is not public api. |
| 482 |
|
| 483 |
0.04 2010-10-26 |
| 484 |
|
| 485 |
- fixed retval handling around Compress::Raw::Zlib(gfx) |
| 486 |
- Change chuked tests not to use Starman(gfx) |
| 487 |
- use binmode() for fucking win32(gfx) |
| 488 |
|
| 489 |
0.03 2010-10-25 |
| 490 |
|
| 491 |
- support no_proxy |
| 492 |
- fixed keep-alive issue |
| 493 |
- fix ppport issue for perl < 5.12 |
| 494 |
- THX fix |
| 495 |
- doc fix |
| 496 |
- micro optimization |
| 497 |
- a lot of tweaks |
| 498 |
|
| 499 |
[0.02 not released] |
| 500 |
|
| 501 |
- doc enhancements |
| 502 |
- micro optimization |
| 503 |
- more test cases |
| 504 |
|
| 505 |
0.01 2010-10-24 |
| 506 |
|
| 507 |
- original version |
| 508 |
|