No, that was added back in October. Please take a look at the PartBase class <http://cvs.apache.org/viewcvs.cgi/jakarta-commons/httpclient/src/java/ org/apache/commons/httpclient/methods/multipart/PartBase.java>.
Mike
On Jan 27, 2004, at 5:36 PM, Sid Subr wrote:
is this patch for setting the transfer encoding and the content type?
--- Oleg Kalnichevski <[EMAIL PROTECTED]> wrote:Patch committed to 2.0 and HEADhttp://nagoya.apache.org/bugzilla/show_bug.cgi?id=14036
Oleg
On Tue, 2004-01-27 at 16:50, [EMAIL PROTECTED] wrote:interest me, but the
Oleg,
Yeah, the patch below will work.
As for the two bugs, the first one doesn't reallysecond one interests me a little. I was going toimplement it (kind of)using separate classes, etc. Now, seeing the bugreport, I might change ita bit to be included in the classes.
Thanks.
Robert Lasch Follett Library and School Group
"Kalnichevski, Oleg"
<[EMAIL PROTECTED]To: "Commons HttpClient Project"
gpoint.com><[EMAIL PROTECTED]>
cc:
01/27/2004 07:42 AMSubject: RE: [PATCH] FilePart class
Please respond to
"Commons HttpClient
Project"
below)?
Robert,
Could you live with something like that (see patchyou. BTW, we happily accept
Oleg
PS: Two feature requests may be of interest tocontributions ;-)
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20288
===================================================================
Index: FilePart.java
/home/cvspublic/jakarta-commons/httpclient/src/java/org/apache/ commons/httpclient/methods/multipart/FilePart.java,vRCS file:
org.apache.commons.httpclient.methods.multipart.FilePart-0000 1.14.2.1
retrieving revision 1.14.2.1 diff -u -r1.14.2.1 FilePart.java --- FilePart.java 10 Oct 2003 04:16:03+++ FilePart.java 27 Jan 2004 13:34:20-0000[mailto:[EMAIL PROTECTED]@@ -264,6 +264,16 @@ } }
+ /** + * Returns the source of the file part. + * + * @return The source. + */ + protected PartSource getSource() { + LOG.trace("enter getSource()"); + return this.source; + } + /** * Return the length of the data. * @return The length.
-----Original Message----- From: [EMAIL PROTECTED]Sent: Monday, January 26, 2004 23:53 To: [EMAIL PROTECTED] Subject: [PATCH] FilePart class
Hi All,
I'm currently working on a subclass of
that allows the---------------------------------------------------------------------multipart post to be stopped prematurely. Itwould be really nice to haveprotected access on the member variable source inFilePart, so I only haveto override the sendData function as opposed tomost of the class. Anychance of getting this changed?
--- FilePart.java.orig Mon Jan 26 16:40:39 2004 +++ FilePart.java Mon Jan 26 16:41:38 2004 @@ -109,7 +109,7 @@ EncodingUtil.getAsciiBytes(FILE_NAME);
/** Source of the file part. */ - private PartSource source; + protected PartSource source;
/** * FilePart Constructor.
Thanks. - Robert Lasch Follett Library and School Group
[EMAIL PROTECTED]To unsubscribe, e-mail:
---------------------------------------------------------------------For additional commands, e-mail: [EMAIL PROTECTED]
[EMAIL PROTECTED]To unsubscribe, e-mail:
---------------------------------------------------------------------For additional commands, e-mail: [EMAIL PROTECTED]
[EMAIL PROTECTED]To unsubscribe, e-mail:
---------------------------------------------------------------------For additional commands, e-mail:[EMAIL PROTECTED]
To unsubscribe, e-mail:[EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
__________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free web site building tool. Try it! http://webhosting.yahoo.com/ps/sb/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]