-
Type:
Bug
-
Status: Resolved
-
Priority:
Major
-
Resolution: Done
-
Affects Version/s: 2.6.0-fuse-00-xx
-
Fix Version/s: 2.6.0-fuse-00-xx
-
Component/s: None
-
Labels:None
-
External Issue URL:
AttachmentSerializer always puts an extra new line before writing the root attachment boundary and headers. Because of that the HTTP request which contains only attachments has two line breaks after request headers. That is not understood by some service providers and they do not process the request.
For example:
Content-Type: multipart/related; type="text/xml"; boundary="uuid:a73c4036-6709-4c09-9bed-c87e9673a4c0"; start="<root.message@cxf.apache.org>"; start-info="text/xml"\CR\LF
|
\LF
|
--uuid:a73c4036-6709-4c09-9bed-c87e9673a4c0\CR\LF
|
Content-Type: text/xml; charset=UTF-8; type="text/xml"\CR\LF
|
Content-Transfer-Encoding: binary\CR\LF
|
Content-ID: <root.message@cxf.apache.org>\CR\LF
|
\CR\LF
|
<?xml version='1.0' encoding='UTF-8'?><soapenv:Envel
|
External issue: https://issues.apache.org/jira/browse/CXF-4482
- is related to
-
ENTESB-7374 AttachmentSerializer misses an extra new line before the first attachment
-
- Closed
-
- links to