Re: [Fwd: [Kannel 0000035]: Kannel does not handle 'multipart/form-data' as defined by WAP specs]

Stipe Tolj <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Organization Wapme Systems AG
Message-ID <[email protected]>
Bruno Rodrigues wrote:
> 
> Stipe Tolj <[email protected]> wrote:
> > [-- text/plain, encoding 8bit, 30 lines --]
> >
> > Hi list,
> >
> > just filed this bug to Mantis.
> >
> > Do we have mechanisms for content-type converters for the request side
> > too?
> >
> > This is essential for decoding binary encoded 'multipart/form-data'
> > and also for Bruno's suggestion in having decoding MMS binary POSTS
> > via wapbox internally to plain-text HTTP multiparts that are passed to
> > an HTTP server that does not have to be aware of MMS binary magic.
> 
> We also need application/vnd.wap.multipart.mixed <-> multipart/mixed
> convertion ;) This is very important to do wap multipart pages.
> 
> I can help with it if someone points me to the right file to change ;)

it's a bit tricky. Basically we'll need to extend wap/wsp_headers.c
with functions that use ParseContext to parse binary multiparts. I
have this already finished and working in the MMS decoder/encoder
module. 

Then this parsing/transformation should be called in the input routine
of gw/wap-appl.c.

I can do this, but I'm blocked up to next week. And next week I'll be
in the US for some days, so obviously I won't make it up to the
following week then.

Hmmm...

Stipe

[email protected]
-------------------------------------------------------------------
Wapme Systems AG

Vogelsanger Weg 80
40470 Düsseldorf

Tel: +49-211-74845-0
Fax: +49-211-74845-299

E-Mail: [email protected]
Internet: http://www.wapme-systems.de
-------------------------------------------------------------------
wapme.net - wherever you are
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.