Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(Request): Return date headers as datetime objects #504

Closed
wants to merge 1 commit into from
Closed

fix(Request): Return date headers as datetime objects #504

wants to merge 1 commit into from

Conversation

lwcolton
Copy link
Contributor

Change if-modified-since and if-unmodified-since headers to datetime
objects instead of strings.

BREAKING CHANGE: The 'date', 'if_modified_since', and 'if_unmodified_since'
request parameters are now returned as datetime.datetime objects and not strings

Fixes #254

Change if-modified-since and if-unmodified-since headers to datetime
objects instead of strings.

BREAKING CHANGE: The 'date', 'if_modified_since', and 'if_unmodified_since'
request parameters are now returned as datetime.datetime objects and not strings

Fixes #254
@@ -1,4 +1,4 @@
# Copyright 2013 by Rackspace Hosting, Inc.
# Copyright 2013 by Rackspace Hosting, Inc.
Copy link
Member

Choose a reason for hiding this comment

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

pep8 is complaining about this indent

@lwcolton lwcolton closed this Apr 15, 2015
@lwcolton lwcolton deleted the feature_254 branch April 15, 2015 16:47
@lwcolton
Copy link
Contributor Author

@kgriffs see #511

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.

Return if-modified-since, if-unmodified-since as datetime.datetime
2 participants