Closed wushuai1415 closed 1 year ago
https://github.com/google/cronet-transport-for-okhttp/blob/099983037331b5290e8bad8aff3355b577a5721b/java/com/google/net/cronet/okhttptransport/RequestResponseConverter.java#L101
Why is the original value of Content Type in okRequest not retained, but changed to "application/octet stream"
Thanks for reporting the issue. We should indeed preserve the header if content type isn't defined by the request body. Will be fixed momentarily.
When will a new version of this issue be released
https://github.com/google/cronet-transport-for-okhttp/blob/099983037331b5290e8bad8aff3355b577a5721b/java/com/google/net/cronet/okhttptransport/RequestResponseConverter.java#L101
Why is the original value of Content Type in okRequest not retained, but changed to "application/octet stream"