Uploaded image for project: 'Spring Integration'
  1. Spring Integration
  2. INT-3063

HTTP gateway response fails with non-standard expires header

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Complete
    • Affects Version/s: 3.0 M2, 2.2.4
    • Fix Version/s: 2.2.5, 3.0 M3
    • Component/s: HTTP Support
    • Labels:
    • Environment:
      IIS (v7.5.7600.16385), Windows 7

      Description

      My IIS server (v7.5.7600.16385) is returning "- 1" as an http Expires header instead of a date. This is in non-conformance to the HTTP Spec but is making HttpHeaders.java getFirstDate(..) method eventually fail with an unable to parse exception. (HttpRequestExecutingMessageHandler->toHeaders->getHTTPHeader -> getExpires() -> getFirstDate()

      It's possible to work-around this by using the mapped-response-headers feature to only map in http fields that we care about.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                abilan Artem Bilan
                Reporter:
                wwadge Wallace Wadge
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: