in reply to Mechanize Returns Garbled Content

Maybe you should look at what you are sending? Eg. run tcpdump when you run your script?