retrofit v2.1.0 Release NotesRelease Date: 2016-06-15 // over 3 years ago
@HeaderMapannotation and support for supplying an arbitrary number of headers to an endpoint.
@JsonAdapterannotations on the
@Bodyparameter and on the method will be propagated to Moshi for creating the request and response adapters, respectively.
- Fix: Honor the
Content-Typeencoding of XML responses when deserializing response bodies.
- Fix: Remove the stacktrace from fake network exceptions created from retrofit-mock's
NetworkBehavior. They had the potential to be misleading and look like a library issue.
- Fix: Eagerly catch malformed
Content-Typeheaders supplied via