Zenodo restriction over 'zen4R' user-agent
eblondel opened this issue · 0 comments
eblondel commented
For some reasons, Zenodo seems to be restricting zen4R calls based on the User-Agent, when containing 'zen4R' or other patterns (for which validation rule is not clear).
Proof:
httr::HEAD("https://zenodo.org/api/records/?q=conceptdoi:10.5281//zenodo.2547036&size=10&page=1&all_versions=1", httr::add_headers("User-Agent" = "zen4R"))
gives error 500
httr::HEAD("https://zenodo.org/api/records/?q=conceptdoi:10.5281//zenodo.2547036&size=10&page=1&all_versions=1", httr::add_headers("User-Agent" = "R"))
gives 200