Skip to content

Conversation

@gquemener
Copy link
Contributor

The X-RateLimit-Remaining is still decrementing, even if the If-Modified-Since is set.
That's because the header date was incorrectly formated.

This PR addresses it.

stloyd and others added 2 commits March 19, 2013 20:16
If-Modified-Since format must be RFC850 compliant and in GMT timezone
BUT PHP DATE_RFC850 format keep returning UTC timezone. So, we set the
GMT timezone and force its rendering in the header.
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

By the way, this method is used nowhere

stloyd added a commit that referenced this pull request Mar 20, 2013
@stloyd stloyd merged commit 340ad2f into master Mar 20, 2013
@stloyd stloyd deleted the bugfix/api_limit branch March 20, 2013 13:24
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.

3 participants