Jochen Wiedmann wrote:
Hi,
I'd like to ask for feedback on a proposed version of
commons-fileupload. It isn't yet finished, but most of the test cases
are already working.
Hi Jochen
It is unlikely I will manage to find time to review the code, but I
would like to say that I consider the use of Mime4J to perform the
|multipart/form-data| decoding to be a good thing. I should also add I
would like to see the old multipart related code in HttpClient replaced
by Mime4J and I am willing to contribute the |multipart/form-data
|encoding functionality to Mime4J, if it is not available yet.
Oleg
Changes:
- Based on a slightly patched version of Mime4J. Should be possible to get the
required changes into upstream. The most important part was the rewrite of
Mime4J as a pull parser, which is already in.
Mime4J supports transfer encodings (FILEUPLOAD-131)
- I/O exceptions are no longer trapped, but passed through to the caller.
(FILEUPLOAD-71)
- Package name changed to org.apache.commons.fileupload2
- Streaming API is now clearly isolated. Traditional style API is still present,
but clearly distinguished. The Streaming API is implemented by the
FileUpload class, the traditional API is available through the FileItemStore
- Progress listener enhancements (FILEUPLOAD-142)
A migration guide from 1.x can be found at
http://people.apache.org/~jochen/commons-fileupload/site/migration.html
The complete site, including the updated docs, can be found at
http://people.apache.org/~jochen/commons-fileupload
For the distribution, see
http://people.apache.org/~jochen/commons-fileupload/dist/
I haven't checked the stuff in, as I am waiting for feedback first.
Jochen
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]