I think you misspelled 'Content-Disposition'
Aahz wrote:
In article <04eacd56-5293-4553-bdb3-ad2e8266c...@z7g2000vbh.googlegroups.com>,
Scooter wrote:
#!/usr/bin/python
import urllib
u = urllib.urlopen('https://myinternal.server/pdfs/pdfstreamer.aspx')
print 'Content-type: application/pdf\n
In article <04eacd56-5293-4553-bdb3-ad2e8266c...@z7g2000vbh.googlegroups.com>,
Scooter wrote:
>
>#!/usr/bin/python
>
>import urllib
>
>u = urllib.urlopen('https://myinternal.server/pdfs/pdfstreamer.aspx')
>print 'Content-type: application/pdf\n\n'
># print 'Content-type: application/x-msdownload;
I'm playing around with urllib, and httplib, trying to make something
of a pdf proxy.I have a pdf that lives on an internal web server, and
I would like to be able to stream it to my external server. (this is
just a test for a bigger process. Yes I could just copy the pdf to the
external box). I wa