r-lib / httr

httr: a friendly http package for R
https://httr.r-lib.org
Other
986 stars 1.99k forks source link

accept() takes 'type' vectors with length > 1 #645

Closed mtmorgan closed 1 year ago

mtmorgan commented 4 years ago

Accept headers can contain multiple types, e.g., "application/json, text/plain", but accept() previously produced a warning (because if (substr(type, 1, 1) == ".") is non-scalar) on vector arguments with length > 1

hadley commented 1 year ago

httr has been superseded in favour of httr2, so is no longer under active development. Thanks for using httr, thanks for contributing, and my apologies that your contribution never made it into the package.