[TriLUG] perl: GET'ing large file with LWP

Joseph Mack NA3T jmack at wm7d.net
Mon Sep 21 10:14:51 EDT 2009


On Mon, 21 Sep 2009, Joseph Tate wrote:

Thanks Joseph, Greg,

> I'd use two requests; HEAD for the headers, then GET to get it
> afterwards after processing the headers.  Yes, it's a bit redundant,
> but otherwise you're writing the HTTP protocol yourself.

I didn't realise I could do it in two steps. I thought you 
did a GET and then parsed everything from the response. Let 
me try it in two steps

Joe

-- 
Joseph Mack NA3T EME(B,D), FM05lw North Carolina
jmack (at) wm7d (dot) net - azimuthal equidistant map
generator at http://www.wm7d.net/azproj.shtml
Homepage http://www.austintek.com/ It's GNU/Linux!



More information about the TriLUG mailing list