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 resource proxy encoding errors #896

Merged
merged 7 commits into from Jun 5, 2013
Merged

Conversation

domoritz
Copy link
Contributor

Some resources cannot be proxied because of encoding issues. For example http://www.berlin.de/ba-lichtenberg/buergerservice/familie/tagespflege/index.php/index/all.json?q=.

The error in Firefox: Content Encoding Error
In Chrome: Error 330 (net::ERR_CONTENT_DECODING_FAILED): Unknown error.
In curl: url: (56) Problem (2) in the Chunked-Encoded data

@ghost ghost assigned domoritz May 13, 2013
@ghost ghost assigned joetsoi May 14, 2013
@domoritz
Copy link
Contributor Author

@joetsoi Hey, I added a commit to fix issues with servers that do not support HEAD requests.

@amercader
Copy link
Member

@joetsoi I'm keen into get this into 2.0.1 can you review and merge at some point next week if you are happy?

@joetsoi joetsoi merged commit 463a94f into master Jun 5, 2013
@amercader
Copy link
Member

@domoritz This was flagged as 2.0.1 but the whole PR is not compatible with it as it was branched afterwards (eg tests in 2.0.1 don't use httpretty). If you can provide a 2.0.1 fix in a new PR I'll merge it, otherwise it would have to be 2.1 only.

@domoritz
Copy link
Contributor Author

domoritz commented Jun 5, 2013

@amercader I can copy the changes to the resource proxy but not the tests to keep it compatible with 2.0 and send a pull request tomorrow.

@domoritz
Copy link
Contributor Author

domoritz commented Jun 6, 2013

@amercader Fixes for 2.0 in #980.

@joetsoi joetsoi deleted the 896-resource-proxy-fixes branch August 15, 2013 08:50
FuhuXia pushed a commit to GSA/ckan that referenced this pull request Mar 5, 2015
FuhuXia pushed a commit to GSA/ckan that referenced this pull request Mar 5, 2015
FuhuXia pushed a commit to GSA/ckan that referenced this pull request Mar 5, 2015
FuhuXia pushed a commit to GSA/ckan that referenced this pull request Mar 5, 2015
Conflicts:
	ckan/tests/test_coding_standards.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants