I'm accessing a third-party web service via UTL_HTTP. The web service is being upgraded and it looks like the Content-Type header is now being delivered on two lines instead of one. The second line is indented with a tab. This is legal per the spec, I believe. For example:
OLD HEADER (all one line, it may wrap):
Content-Type: multipart/related; type="application/xop+xml"; start="<soap.xml@xfire.codehaus.org>"; start-info="text/xml"; boundary="----=_Part_32873_1464598326.1487367565589"
NEW HEADER:
Content-Type: multipart/related; type="application/xop+xml"; start="<soap.xml@xfire.codehaus.org>"; start-info="text/xml";
boundary="----=_Part_74_1245215465.1487367526203"
My PL/SQL program steps through the headers with utl_http.get_header. The first call to get_header() returns a header name of "Content-Type" and a header value of "multipart/related...". The second call returns a header name of null, and a header value of "boundary=...".
This doesn't seem right to me. An HTTP header with no name isn't allowed. The second line of the header is just a continuation of the content from the first line. Is this a bug?
Edit: Using 11.2.0.4.