Uploaded image for project: 'Spring Framework'
  1. Spring Framework
  2. SPR-10648

HttpHeaders should be tolerant with bad date-aware headers as it said in the RFC 2616

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Complete
    • Affects Version/s: 3.2.3
    • Fix Version/s: 3.2.4, 4.0 M3
    • Component/s: Web
    • Labels:
      None

      Description

      See the Expires header description in the RFC.
      Now if the value of similar header is not valid HttpHeaders throws IllegalArgumentException.
      IMO it should return -1 as in case header is null.
      In additions see the linked issue.

      We'll be glad to hear any thoughts, why HttpHeaders works now such way?

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                rstoya05-aop Rossen Stoyanchev
                Reporter:
                abilan Artem Bilan
                Last updater:
                Spring Issuemaster
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  35 weeks, 1 day ago