On 03/02/2011, at 13:55, Jean Pierre Dentone wrote:

> Thx for the reply. I still dont get it
> 
> https://www.conversionsondemand.com/jptest/pdf-download.php
> 
> thats the direct link for the php script... the pdf file is in the same 
> directory
> 
> do you have any idea what could be causing this issue? with nothing on the 
> logs is hard to troubleshoot and I really ran out of ideas

It works:

=================
> GET /jptest/pdf-download.php HTTP/1.1
> User-Agent: curl/7.21.2 (x86_64-apple-darwin10.5.0) libcurl/7.21.2 
> OpenSSL/1.0.0c zlib/1.2.5 libidn/1.19
> Host: www.conversionsondemand.com
> Accept: */*
> 
< HTTP/1.1 200 OK
< Connection: Keep-Alive
< Keep-Alive: timeout=900
< Date: Thu, 03 Feb 2011 12:59:58 GMT
< Server: Cherokee
< X-Powered-By: PHP/5.2.10
< Content-Description: File Transfer
< Content-Type: application/octet-stream
< Content-Disposition: attachment; filename="linux_shellcode.pdf"
< Content-Transfer-Encoding: binary
< Expires: 0
< Cache-Control: must-revalidate, post-check=0, pre-check=0
< Cache-Control: private
< Pragma: public
< Content-Length: 128686
< 
%PDF-1.3
%?쏢
5 0 obj
<</Length 6 0 R/Filter /FlateDecode>>
stream
=================

The only issue seems to be that double Cache-Control entry.. but, besides that 
it's working.

--
Octality
http://www.octality.com/

_______________________________________________
Cherokee mailing list
[email protected]
http://lists.octality.com/listinfo/cherokee

Reply via email to