W3C home > Mailing lists > Public > www-jigsaw@w3.org > July to August 1999

Question on Post - multipart/form-data

From: Dan Hansen <DLHansen@Quark.Com>
Date: Tue, 27 Jul 1999 17:04:56 -0400 (EDT)
Message-ID: <3D62AB6FFC80D211A84700104B10CB2C02728520@denver.quark.com>
To: "'www-jigsaw@w3.org'" <www-jigsaw@w3.org>
Hi,

Taking a look through the PostableFrame class.

I see declaration 
private static MimeType type = MimeType.APPLICATION_X_WWW_FORM_URLENCODED;

and later on in the post() method I see a test
that checks the request.getContentType vs this "type" value.
If it does not match, it sends back a UNSUPPORTED_MEDIA_TYPE reply.

So the out-of-the-box postable frame seems designed for urlencoded data
only.

What is the recommended technique to use (in the Jigsaw paradigm) for
handling "Content-Type: multipart/form-data"?  Would you recommend extending
PostableFrame
or would you suggest another approach?

Thanks,
Dan
Received on Wednesday, 28 July 1999 03:58:52 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 9 April 2012 12:13:29 GMT