For Programmers: Free Programming Magazines  


Home > Archive > PERL Programming > May 2005 > content-length header keeps changing









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author content-length header keeps changing
Steven Daedelus

2005-05-15, 8:55 pm

Hi,

I'm trying to use LWP to set up a utility to check for updates to a
series of webpages. I'm checking the content-length header and comparing
it to a cache file. Problem is, every time I check the page, even if
it's just a few seconds apart, the content-length is slightly different.
There's no rotating banners or anything, so I can't quite figure this
out. Here's the page:

http://www.ucwv.edu/about_uc/employment.aspx

Any ideas?

sp

--
This sig property of the Soviet Union
Janwillem Borleffs

2005-05-16, 3:56 am

Steven Daedelus wrote:
> I'm trying to use LWP to set up a utility to check for updates to a
> series of webpages. I'm checking the content-length header and
> comparing it to a cache file. Problem is, every time I check the
> page, even if it's just a few seconds apart, the content-length is
> slightly different. There's no rotating banners or anything, so I
> can't quite figure this out. Here's the page:
>
> http://www.ucwv.edu/about_uc/employment.aspx
>
> Any ideas?
>


The images on the top and the left are changing when you refresh the page,
which probably changes the code of the page somewhat.

Anyways, the content length appears to be stable when you use the text mode:

http://www.ucwv.edu/about_uc/employ...ewmode=textonly


JW



Steven Daedelus

2005-05-16, 3:56 am

In article <4287d9bc$0$45350$dbd45001@news.euronet.nl>,
"Janwillem Borleffs" <jw@jwscripts.com> wrote:

> Steven Daedelus wrote:
>
> The images on the top and the left are changing when you refresh the page,
> which probably changes the code of the page somewhat.


Good point.

> Anyways, the content length appears to be stable when you use the text mode:
>
> http://www.ucwv.edu/about_uc/employ...ewmode=textonly


Also a good point. Thanks.

sp

--
This sig property of the Soviet Union
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com