Can we only get the web page header information and not the body? (Mechanize)

Posted by VN44CA on Stack Overflow See other posts from Stack Overflow or by VN44CA
Published on 2010-04-28T15:42:13Z Indexed on 2010/04/28 15:53 UTC
Read the original article Hit count: 194

Filed under:
|
|

What if I only need to download the page if it has not changed since the last download? What is the best way? can I get the size of the page first, then compare the decide if it has changed, if so, I ask for download else skip?

I plan to use (python) mechanize.

© Stack Overflow or respective owner

Related posts about python

Related posts about mechanize