curl-users
Re: problem with Content-Type: application/binary returned from a post
Date: Thu, 19 May 2005 17:10:34 +0200 (CEST)
On Wed, 18 May 2005, bart wrote:
> So i use a procedure in the database to build the curl line it takes 4 posts
> to get logged in and to the point where I am requesting the file I want and
> requires probably way to much effort
> here is the output of --trace-ascii
>
> => Send header, 576 bytes (0x240)
> 0000: POST /cgi-bin/CaseFiled-Rpt.pl?101551106276801-L_56_1-1 HTTP/1.1
> 0000: Content-disposition: inline; filename=CaseFiledRPT.txt
> 0000: Transfer-Encoding: chunked
> 0000: Content-Type: application/binary; name=CaseFiledRPT.txt
...
> 0000: 3ff
> 0005: <HR><CENTER><TABLE BORDER=1 BGCOLOR=WHITE WIDTH="400"><TR><TH CO
> 0045: LSPAN=4><FONT SIZE=+1 COLOR=DARKRED>blah blah
>
> As you can see I get the html, it mentions the file but I dont get the file.
> Any help or ideas would be greatly appreciated.
That's the file you get. It even claims application/binary and a set name.
-- Commercial curl and libcurl Technical Support: http://haxx.se/curl.htmlReceived on 2005-05-19