[mp2] CONTENT_LENGTH & input filter

2004-05-03 Thread Micah Johnson
Hi, I'm trying to use a pre-existing CGI script without modification. I'd like to use an input filter to tack on something to the POST string. My filter adds the string, but the CGI sees a CONTENT_LENGTH environmental variable that corresponds to its original length. How do I update the CONTENT

content-disposition not recognized

2004-11-19 Thread Micah Johnson
ile reports a server error 500, premature end of script headers and the content-disposition line is displayed, so it looks like it is not being treated as a header. Any suggestions on how to fix this? Thanks, Micah Johnson __ Do you Yahoo!?

Re: content-disposition not recognized

2004-11-19 Thread Micah Johnson
> > and the script prints headers like this: > > > > print "Content-type: text/plain\n"; > > print "Content-Disposition: attachment; > > filename=results.xml\n\n"; > > > > The resulting file reports a server error 500, > > premature end of script headers and the > > content-disposition l

Re: content-disposition not recognized

2004-11-19 Thread Micah Johnson
--- Stas Bekman <[EMAIL PROTECTED]> wrote: > Micah Johnson wrote: > [...] > >>print q[Content-type: text/plain\n] . > >>q[Content-Disposition: > >>attachment;filename=results.xml\n\n]. > > > > > > Thanks! > > The local $| = 0 tric