Differences between revisions 1 and 2
Revision 1 as of 2005-02-20 09:08:10
Size: 656
Editor: RolandWeber
Comment:
Revision 2 as of 2009-09-20 21:46:21
Size: 660
Editor: localhost
Comment: converted to 1.6 markup
Deletions are marked like this. Additions are marked like this.
Line 6: Line 6:
This option is mentioned by [http://www.faqs.org/rfcs/rfc2068.html RFC 2068] in section 19.4.5. This option is mentioned by [[http://www.faqs.org/rfcs/rfc2068.html|RFC 2068]] in section 19.4.5.
Line 16: Line 16:
[http://jakarta.apache.org/commons/httpclient/mail-lists.html developer mailing list] [[http://jakarta.apache.org/commons/httpclient/mail-lists.html|developer mailing list]]

Use Case: Post Multipart Form Data With Custom Part Headers

Description

I want to POST multipart form data, but I have to add custom headers to some of the parts. This option is mentioned by RFC 2068 in section 19.4.5.

Background

The current 3.0 API allows only to set some standard headers for the parts (like  StringPart ,  FilePart ,...), but not to add generic headers by name and value.

This use case was posted to the developer mailing list by Edwin Kempin on Valentine's Day (Feb. 14) 2005.

UseCases/SandBox/MultipartWithCustomPartHeaders (last edited 2009-09-20 21:46:21 by localhost)