As a quick project, I was attempting to use WebService::RTMAgent, which uses LWP for sucking information from Remember the Milk using their API. For some reason, I am seeing truncated data coming back for larger response sizes.
I couldn't see anything obviously wrong in my code, or the library (I posted a ticket on CPAN though), but while searching for clues, I found this, which if true, I imagine could be the issue, since the responses WebService-RTMAgent deal with seem to be all on a massive single line.
Is this a known "problem" or is this acceptable what Perl LWP is doing?
From http://code.google.com/support/bin/answer.py?hl=en&answer=15141:
My reports are truncated when I use Perl LWP. How do I fix it?
Perl LWP module imposes a length-per-line limit that truncates report data. It appears that HTTP::Response has a hard limit to the total line size so it truncates each line. To get around this problem, you can try using wget to download the reports as it doesn't store the response as a member of the object in memory.In reply to Http::Response truncation issues by sits
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |