header validation incorrectly splits dates in headers
Issue #136
resolved
https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html states that dates in headers should be of form Sun, 06 Nov 1994 08:49:37 GMT
however validation splits into "Sun" and "06 Nov 1994 08:49:37 GMT"
This admittedly is a contradiction with https://www.w3.org/Protocols/rfc2616/rfc2616-sec4.html#sec4.2 which says a comma seperates multiple values.
Suggest fix is to check for date format and only split if it isn't a date.
Comments (5)
-
-
Cheers! You'll need to fork the repo and push your changes there, then raise a PR from that fork back to this repo.
-
ok PR done.
-
-
- changed status to resolved
- Log in to comment
have a fix but having some issues with pushing to repo.
NB i raised the issue