beating a dead horse: automated form submission

Skip Montanaro skip at pobox.com
Sun Jan 26 20:21:19 CET 2003


    Whit> Well I'm tinkering with the snippet from the FAQ and trying it out on
    Whit> www.musi-cal.com's little query page.  Here's the code:

    ...

Try adding

    httpobj.putheader('Host', 'www.musi-cal.com')

in with the other headers.  The Musi-Cal server is an Apache virtual host,
so you have to tell it which virtual server you want to get the request.

Skip
(the Musi-Cal guy)






More information about the Python-list mailing list