httr icon indicating copy to clipboard operation
httr copied to clipboard

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

Open mtmorgan opened this issue 4 years ago • 0 comments

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

mtmorgan avatar May 02 '20 09:05 mtmorgan