IBM Support

IT09396: CONTENT-LENGTH HEADER NOT AVAILABLE IN RESPONSE OBJECT AFTER MAKING URL-OPEN CALL

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When using url-open in either a stylesheet or in Gateway
    Script, the content-length header is not accessible in the
    response object.
    

Local fix

  • Using Gateway Script:
    
    urlopen.open (options, function (error, response) {
        response.readAsBuffer(function(err, buf) {
      //buf.length = content-length
          console.error("Content-Length: " + buf.length);
        }
      });
    

Problem summary

  • When using urlopen in XSLT or GatewayScript, the
    Content-Length header might be missing in the response headers.
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    IT09396

  • Reported component name

    DATAPOWER

  • Reported component ID

    DP1234567

  • Reported release

    700

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2015-06-10

  • Closed date

    2015-07-16

  • Last modified date

    2015-09-01

  • 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

    DATAPOWER

  • Fixed component ID

    DP1234567

Applicable component levels

  • R700 PSY

       UP

  • R710 PSY

       UP

  • R720 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SS9H2Y","label":"IBM DataPower Gateway"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.0.0","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
11 February 2022