Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!1.eu.feeder.erje.net!newsfeed.fsmpi.rwth-aachen.de!newsfeed.straub-nv.de!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed7.news.xs4all.nl!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.029 X-Spam-Evidence: '*H*': 0.94; '*S*': 0.00; 'subject:file': 0.07; 'subject:Posting': 0.09; 'python.': 0.11; 'from:addr:torriem': 0.16; 'from:name:michael torrie': 0.16; 'subject:image': 0.16; 'subject:server': 0.16; 'wrote:': 0.16; 'header:In-Reply-To:1': 0.24; 'paul': 0.24; 'header:User-Agent:1': 0.26; 'run': 0.32; 'says': 0.32; 'subject:?': 0.34; 'server': 0.34; 'message- id:@gmail.com': 0.35; 'to:addr:python-list': 0.35; 'subject:: ': 0.37; 'difference': 0.38; 'received:org': 0.38; 'pm,': 0.39; 'to:addr:python.org': 0.39; 'received:192': 0.39; 'your': 0.60; 'between': 0.65; 'charset:windows-1252': 0.65 X-Virus-Scanned: amavisd-new at torriefamily.org Date: Wed, 17 Jun 2015 21:59:35 -0600 From: Michael Torrie User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: python-list@python.org Subject: Re: Posting gzip'd image file - server says Malformed Upload? References: <59756062-6632-46b4-a92c-aa3a260718a7@googlegroups.com> <0dd32144-8969-4e15-9e78-4c9698fb9d8c@googlegroups.com> In-Reply-To: Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.20+ Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 7 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1434599980 news.xs4all.nl 2850 [2001:888:2000:d::a6]:33877 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:92803 On 06/17/2015 09:48 PM, Paul Hubert wrote: > Same result - server says malformed upload. :/ You may want to run a sniffer like wireshark and see what the difference is between the packets coming from your C# program and coming from Python.