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

Key exception on resource proxy on CKAN < 2.3 #2425

Closed
amercader opened this issue May 11, 2015 · 1 comment
Closed

Key exception on resource proxy on CKAN < 2.3 #2425

amercader opened this issue May 11, 2015 · 1 comment

Comments

@amercader
Copy link
Member

Because the headers are accessed like these and modern requests versions will fail if the header is not present:

cl = r.headers['content-length']
@amercader
Copy link
Member Author

Backported

amercader added a commit that referenced this issue May 11, 2015
Old requests versions use to return None if a header was not present
amercader added a commit that referenced this issue May 11, 2015
Old requests versions use to return None if a header was not present
amercader added a commit that referenced this issue May 11, 2015
Old requests versions use to return None if a header was not present
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant