Question on Post - multipart/form-data

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 UTC