|
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
|
- Re: multipart/form-data formatted requests Daniel Walsh
- Re: multipart/form-data formatted requests Jason Hunter
- Re: multipart/form-data formatted requests Daniel Walsh
