IBM Support

IT02840: CUSTOM HTTP HEADER IN MESSAGE RECEIVED IS NOT INCLUDED IN RESPONSE

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • An HTTP message with custom headers is
    received:
    
    HTTP/1.1 200 OK
    Content-Type: text/xml
    Transfer-Encoding: chunked
    
    A business process (BP) is run upon receipt that includes an
    HTTP Response Service that has an assign statement for
    ""doc-has-headers" set to "true" so the same headers should be
    sent in the response.
    
    As a test, a headers.txt file was created that contains the
    above headers. The BP includes a Collect Header that has an
    assign to "filter" that points to the headers.txt file. A
    curl command is used to send those headers in a message to an
    HTTP server adpater configured with a specific URI set to
    trigger the BP.
    
    The format of the curl command is:
    curl --verbose --data-binary @headers.txt http://<IP address or
    URL>:<http server adapter port #>/<URI>
    
    If the header.txt file contains only the above four headers,
    then this works as expected, for example, the response
    contains those
    lines. If the content of the headers.txt file is modified to
    include a message body, but adds a blank line after the
    header, then a body on the following line, the headers in the
    response are instead:
    
    HTTP/1.1 200 OK
    Date: Thu, 02 Jan 2014 19:15:19 GMT
    Content-Type: text/xml
    Content-Length: 42
    
    The "Transfer-Encoding: chunked" is removed and
    "Content-Length" header is added instead.
    

Local fix

  • STRRTC - 407478
    NM / NM
    Circumvention:None
    

Problem summary

  • Users Affected:
    All
    
    PROBLEM DESCRIPTION:
    The HTTP Server Adapter does not process
    "Transfer-Encoding: chunked" in the HTTP header.
    
    Platforms Affected:
    All
    

Problem conclusion

  • A code fix is provided.
    
    Delivered In:
    
    5020500_11
    5020601_2
    

Temporary fix

Comments

APAR Information

  • APAR number

    IT02840

  • Reported component name

    STR B2B INTEGRA

  • Reported component ID

    5725D0600

  • Reported release

    524

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2014-06-27

  • Closed date

    2015-10-21

  • Last modified date

    2016-04-18

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    STR B2B INTEGRA

  • Fixed component ID

    5725D0600

Applicable component levels

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SS3JSW","label":"Sterling B2B Integrator"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"5.2.4","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Document Information

Modified date:
11 September 2023