Add an accept: keyword argument to Network::HTTP#request.
It must default to nil and not set the Accept header.
When given a Symbol, it must lookup the MIME type String in a list of known common Content-Types (see #457), and set the Accept header to that MIME type.
When given a String, it must set the Accept header to that String value.
Add an
accept:
keyword argument toNetwork::HTTP#request
.nil
and not set theAccept
header.Content-Type
s (see #457), and set theAccept
header to that MIME type.Accept
header to that String value.