Oh I see what you're saying, sorry. Have you dumped all of REQUEST to see what looks useful?
thanks for your reply. Yes I did dump the REQUEST var , I see the content_type and content_lenght set but no content . There is nothing in the forms section whihc is correct as the data coming from the browser is via a post method with no url encoded form variables. I wonder if there is a way to access the actual data stream as I dont think the REQUEST var was designed to handle this situation for a POST request :-( thanks sathya
-----Original Message----- From: linuxcraft@scorpio.redspice.com [mailto:linuxcraft@scorpio.redspice.com]On Behalf Of linuxcraft@redspice.com Sent: Thursday, April 13, 2000 12:19 PM To: anser Cc: zope@zope.org Subject: Re: MIME types and zope
Sathya <linuxcraft@redspice.com> wrote:
I am trying to handle a vendor specific mime type within zope basically it is the adobe forms plugin whihc encodes data in application/vnd.fdf type. It is basically an ascii stream set in a particular format question is how do I access this data coming from the browser the request variable does not contain information about this.
There is a brand new HowTo about this at Zope.org:
Thanks, but what I need is to access this stream coming from a browser ie the actual stream whoose total length is set by the HTTP variable CONTENT_LENGTH the stream does not come in as cgi style url encoded as it would in case of a HTML form. Setting the content type helps make the browser understand what to receive , THanks for that. IF you know how I could access the stream coming form the browser within my DTML doc please let me know thanks sathya
(although www.zope.org seems to be unreachable this morning...) The simplest way is simply to put
Content-type: application/vnd.fdf
followed by a blank line, at the very top of your DTML Method that's supposed to return one of these forms.
participants (1)
-
linuxcraft@redspice.com