[Melbourne-pm] Delivering PDFs via CGI

Malcolm Herbert melbourne-pm at mjch.net
Sun Jun 18 23:57:43 PDT 2006


I'd be making sure that my CGI program was outputting the correct
Content-Type: header - the default is probably text/html and it depends
on what your browser believes ... when accessing a CGI url I'm not sure
how a browser would do type matching based on the url ... would

 http://host/blah.pdf?foo.txt

be interpreted as a .pdf or a .txt?

-- 
Malcolm Herbert                                This brain intentionally
mjch at mjch.net                                                left blank


More information about the Melbourne-pm mailing list