Uploaded image for project: 'logback'
  1. logback
  2. LOGBACK-1363

[logback-access] Response header field names to be case-insensitive

    XMLWordPrintable

Details

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • 1.2.3
    • logback-access
    • None
    • Jetty 9.4, Linux, Java 8

    Description

      Response header lookup provided by the AccessEvent are case-sensitive. The RFC for message headers says that the header names should be treated as case-insensitive [1]. Request headers are already treated as case-insensitive [2]. Response header lookup should be updated to be case-insensitive.

      [1] https://www.w3.org/Protocols/rfc2616/rfc2616-sec4.html#sec4.2
      [2] https://github.com/qos-ch/logback/blob/v_1.2.3/logback-access/src/main/java/ch/qos/logback/access/spi/AccessEvent.java#L325

      Attachments

        Activity

          People

            logback-dev Logback dev list
            nschile Nathan Schile
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: