[Zope] Re: MIME types and zope
linuxcraft@redspice.com
linuxcraft@redspice.com
Thu, 13 Apr 2000 13:02:14 -0500 (CDT)
finally found the answer after looking at the source for BASEREquest.py
The attribute is BODY. The data stream shows up there
time for a HOW-TO ;-)
thanks
sathya
> >
> > 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:
> >
> > http://www.zope.org/Members/anser/howto_dtml_mimetype
> 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.
> >
> >
> >
>
>
> _______________________________________________
> Zope maillist - Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> ** No cross posts or HTML encoding! **
> (Related lists -
> http://lists.zope.org/mailman/listinfo/zope-announce
> http://lists.zope.org/mailman/listinfo/zope-dev )
>