in reply to Re: Re: LWP::UserAgent destroys $response->content >:{
in thread LWP::UserAgent destroys $response->content >:{
So,
Shall I dispense with the UserAgent Request and run it through lower level code? >:-{ (Defeating the purpose of UserAgent) (Not a satisfactory solution)
OR
Use the filename method and use a 'length of file (= length of response)' test before assuming that UserAgent error response is valid (i.e. rebuild the response->content from the collected file copy if response is not 'too short'? (A workable patch - maybe)
OR
Get LinkSys to check their disconnect logic? (Not likely)
Start debugging lower layers? (Well, that's the same as the first idea (Not a satisfactory solution - and no guarantee of success.
Guess I'll put in a response (in file) length test to validate UserAgent error - bleearghr ;)
Unless someone can help me with the lower level stuff.
{"Why don't you do it in Perl?" - Well, one has to start somewhere! ;))) }
Steve Potter
http://www3.sympatico.ca/steven.potter/