| 1 |
TODOs for HTTP::Async |
| 2 |
|
| 3 |
* Add ability to pass in a file handle that will be used to store the |
| 4 |
content in. Aimed at people downloading large files that would otherwise |
| 5 |
fill up the memory. Could be done so that downloads greater than a certain |
| 6 |
size get sent to file rather than to memory. How to return this in the |
| 7 |
HTTP::Response though. |
| 8 |
|
| 9 |
* Do what is needed to get CPANTS tests to pass / run. |
| 10 |
|
| 11 |
* Make sending non blocking - both the data and the initial DNS lookup. |
| 12 |
|
| 13 |
* Integrate the changes from Egor - set alarm to catch connection timeout. |
| 14 |
|
| 15 |
* Change max_redirects to max_redirect to be consistent with LWP::UserAgent |
| 16 |
|
| 17 |
* Add a max_content_size that will break connections if the content is to |
| 18 |
big - default is no limit. |
| 19 |
|
| 20 |
* Switch to using Test::Class so that the tests are faster as they don't |
| 21 |
spend so much time starting and stopping the test server(s). |
| 22 |
|
| 23 |
* Change the user agent so that if it is not set in the request passed in then |
| 24 |
it defaults to 'HTTP::Async vx.xx' or some such. Should also be possible to |
| 25 |
set it in the opts or in the HTTP::Request. |
| 26 |
|
| 27 |
* Add 'info' sub that can be linked to SIGINFO to provide a summary of what is |
| 28 |
going on eg "print $async->info( 'terse' )". |