IBM Support

IT17165: HTTP/1.1 411 LENGTH REQUIRED ERROR RETURNED FOR EMPTY POST/PUT WITHOUT CONTENT_LENGTH HEADER

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • HTTP/1.1 POST or PUT requests not containing any message body
    and not having the Content-Length header explicitly set to 0 get
    rejected with 411 "Length Required". This is in conflict with
    the specification, which assumes the content-length is 0, when
    it's not explicitly present, invariant to the HTTP method used.
    

Local fix

  • Use "Content-Length: 0" with empty requests.
    

Problem summary

  • Incoming HTTP/1.1 requests that use the POST or PUT method, but
    contain no message body without explcitly specifying
    "Content-Length: 0" will incorrectly get a "HTTP/1.1 411" error.
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    IT17165

  • Reported component name

    DATAPOWER

  • Reported component ID

    DP1234567

  • Reported release

    752

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2016-09-30

  • Closed date

    2016-11-09

  • Last modified date

    2016-11-21

  • 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 PSN

       UP

  • R710 PSN

       UP

  • R720 PSN

       UP

  • R750 PSN

       UP

  • R751 PSN

       UP

  • R752 PSN

       UP



Document information

More support for: IBM DataPower Gateways
General

Software version: 752

Reference #: IT17165

Modified date: 21 November 2016