You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Per the HTTP 1.1 spec, if the server does not supply a charset in the HTTP headers, then ISO-8859-1 is assumed. Thus on the request, I think we should return Charsets.8859_1 instead of Charsets.UTF_8.
When sending, we can specify anything we like as long as we include the right header, and it's certainly better to include than not.
Both the request and response objects should default to the same charsets. This causes very hard to troubleshoot bugs with repeated requests.
from
com.google.api.client.http.HttpResponse
from
com.google.api.client.http.AbstractHttpContent
Ideally both will use
Charsets.UTF_8
, asCharsets.ISO_8859_1
only supports a subset.The text was updated successfully, but these errors were encountered: