KB Article #180663

What does tolerating bogus line "LF" terminator mean?

Problem

What does it mean when a trace file shows an entry like the following?

DEBUG 11/8/19, 10:22:55.034        tolerating bogus line "LF" terminator


Resolution

This trace entry means that the server we connected to incorrectly sent only an LF as a line terminator instead of a CRLF, but that the API Gateway accepted this because we conform to Section 3.5 of RFC 7230

Although the line terminator for the start-line and header fields is the sequence CRLF, a recipient MAY recognize a single LF as a line terminator and ignore any preceding CR.