httr
httr copied to clipboard
accept() takes 'type' vectors with length > 1
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