Re: multipart/form-data formatted requests

Jason Hunter <[email protected]>
Newsgroups gmane.comp.java.sun.servlet
Message-ID <[email protected]>
Hi Daniel,

The latest MultipartRequest class should support
Content-Transfer-Encoding.  What exact problem are you seeing?  If you
could send me code that duplicates the problem I'll make sure it gets
fixed quickly.

-jh-

> Daniel Walsh wrote:
>
> I'm not sure that I'm posting this question to the correct list.  I
> ran a search on O'Reilly's MultipartRequest class, and it pointed me
> to servlets.com.  So, when I entered the Mailing Lists link, I was
> pointed here.  If this question is not best suited for this list,
> please let me know and I'll redirect it.  In that case, if anyone
> knows where this would be best posted, I'd appreciate the heads up.
>
> I recently wrote a test program using Apache's HttpClient and
> O'Reilly's MultipartRequest, to upload a file using a multipart
> request format.  This worked fine when using an older version of
> HttpClient, however recently they made a few changes to better conform
> to some of the smaller details of the multipart/form-data
> specification (http://www.ietf.org/rfc/rfc2388.txt); namely, they now
> include 'Content-Type' and 'Content-Transfer-Encoding' headers for
> each part.
>
> Since these modifications I receive exceptions when trying to run my
> program.  I've taken a look at the RFC for multipart/form-data and it
> would seem that Apache implemented these changes in compliance with
> the specification.  I see in the javadoc that MultipartRequest used
> RFC 1867 (http://www.ietf.org/rfc/rfc1867.txt) for the class, however,
> I guess my question is: does O'Reilly's MultipartRequest not accept
> multipart request which fully adhere to RFC 2388?  Was I possible
> using an older version of it, while I might not run into these
> problems with a newer one?
>
> Thanks,
>
> Daniel

___________________________________________________________________________
To unsubscribe, send email to [email protected] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
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.