hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 37089] - need members of MultipartRequestEntity to be "protected" instead of "private" to make it extendable for multipart/related
Date Thu, 20 Oct 2005 07:30:35 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=37089>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=37089





------- Additional Comments From poubelle2005@yahoo.fr  2005-10-20 09:30 -------
(In reply to comment #3)
> Guillaume,
> 
> would you mind explaining why you need this? IMHO a entity should not care if it
> is embedded in another multipart entity and the parent's boundary string.

To perform a multipart/related POST, compared to the MultipartRequestEntity I
need to change the Content-Type: header to use another base type and possibly
add a couple of additional parameters in it (start=, type=), by overriding
#getContentType.

As the boundary of used in the Content-Type header, and then used in other
places (in #getContentLength and #writeBody), I need to use the same boundary in
the overriden #getContentType than in these non-overriden methods.

I hope this helps understanding the problem?


-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpclient-dev-help@jakarta.apache.org


Mime
View raw message