Fix ConnectionError in Scielo dataset
COLLABORATOR
The CI error is unrelated to the change.
2021-11-15T14:46:57Z
https://github.com/huggingface/datasets/pull/3260#issuecomment-968982252
https://api.github.com/repos/huggingface/datasets/issues/3260
IC_kwDODunzps45wX7s
https://api.github.com/repos/huggingface/datasets/issues/comments/968982252/reactions
2021-11-15T14:46:57Z
https://api.github.com/repos/huggingface/datasets/issues/comments/968982252
https://avatars.githubusercontent.com/u/47462742?v=4
https://api.github.com/users/mariosasko/events{/privacy}
https://api.github.com/users/mariosasko/followers
https://api.github.com/users/mariosasko/following{/other_user}
https://api.github.com/users/mariosasko/gists{/gist_id}
https://github.com/mariosasko
mariosasko
MDQ6VXNlcjQ3NDYyNzQy
https://api.github.com/users/mariosasko/orgs
https://api.github.com/users/mariosasko/received_events
https://api.github.com/users/mariosasko/repos
https://api.github.com/users/mariosasko/starred{/owner}{/repo}
https://api.github.com/users/mariosasko/subscriptions
User
https://api.github.com/users/mariosasko
public
This PR:
* allows 403 status code in HEAD requests to S3 buckets to fix the connection error in the Scielo dataset (instead of `url`, uses `response.url` to check the URL of the final endpoint)
* makes the Scielo dataset streamable

Fixes #3255. 