Why not look (using Wireshark) what Google sends? Then just replicate that and you're set?
In reply to Re: HTTP Attachment Header by Corion in thread HTTP Attachment Header by Rodster001