hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ted Slusser <ted.slus...@vanderbilt.edu>
Subject multipart/related
Date Mon, 13 Feb 2012 20:24:56 GMT

I would like to submit a POST with a specialized Content-Type header.  I would like the Content-Type
to be - 

ContentType: multipart/related; type="application/xop+xml"

along with the boundary, etc.

If I set the Content-Type using HttpMessage.setHeader() it interferes with the creation of
the boundary parts of the Content-Type.  Is there another way to "plug-in" to the process
of creating the Content-Type header or some other way of customizing certain attributes of
the Content-Type?


Ted Slusser
Health Systems Engineer III
Vanderbilt Informatics Center (http://informatics.mc.vanderbilt.edu/)
3401 West End Avenue, Ste 700
Nashville, TN 37203
Cell Phone: (615) 420-7326

"This e-mail is confidential and privileged pursuant to provisions of Section 63-6-219 of
Tennessee Code Annotated, the contractual obligations of Vanderbilt University to its insurance
companies, the attorney-client privilege and other applicable provisions of law."

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message