Skip to content

Fixed 'If-Modified-Since' date format#47

Merged
aadsm merged 1 commit intoaadsm:masterfrom
xps:patch-1
Feb 23, 2015
Merged

Fixed 'If-Modified-Since' date format#47
aadsm merged 1 commit intoaadsm:masterfrom
xps:patch-1

Conversation

@xps
Copy link
Copy Markdown
Contributor

@xps xps commented Feb 10, 2015

Hi,

My IIS 8.5 server was causing me trouble with the If-Modified-Since header, and returning a 400 code. After investigating it seems that the date should be in RFC822 or RFC1123 format, and both of them require that the day be formatted with a leading 0.

Anyway, adding the 0 fixed my problem.

Hope that helps someone else.

Cheers
Xavier

Hi,

My IIS 8.5 server was causing me trouble with the If-Modified-Since header, and returning a 400 code. After investigating it seems that the date should be in RFC822 or RFC1123 format, and both of which require that the day be formatted with a leading 0.

Anyway, adding the 0 fixed my problem.

Hope that helps someone else.

Cheers
Xavier
aadsm added a commit that referenced this pull request Feb 23, 2015
Fixed 'If-Modified-Since' date format
@aadsm aadsm merged commit 32733e0 into aadsm:master Feb 23, 2015
@aadsm
Copy link
Copy Markdown
Owner

aadsm commented Feb 23, 2015

Awesome! Thank you so much for finding and fixing this!

@xps xps deleted the patch-1 branch April 7, 2015 23:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants