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
Issues filed here should be about bugs in the code in this repository.
If you have a general question, need help debugging, or fall into some
other category use one of these other channels:
For general technical questions, post a question on StackOverflow
with the firebase tag.
For general Firebase discussion, use the firebase-talk
google group.
For help troubleshooting your application that does not fall under one
of the above categories, reach out to the personalized Firebase support channel.
[REQUIRED] Step 2: Describe your environment
Android Studio version: 3.5.1
Firebase Component: Performance
Component version: 19.1.0
[REQUIRED] Step 3: Describe the problem
Steps to reproduce:
When using Firebase Performance Monitoring (automatic http metrics) with OkHttp, the response payload size is not reported to Firebase.
The reason is if OkHttp does transparent gzip decompression, the library omits the Content-Length header, and hence Firebase is unable to report it.
I do not know what would be better -
Intercept requests at network level rather than application level
This qualifies as a Feature Request to provide responsePayloadBytes (the original unzipped response's content-length) information when OkHttp performs transparent gzip, in which case they strip the content-length information.
[READ] Step 1: Are you in the right place?
Issues filed here should be about bugs in the code in this repository.
If you have a general question, need help debugging, or fall into some
other category use one of these other channels:
with the firebase tag.
google group.
of the above categories, reach out to the personalized
Firebase support channel.
[REQUIRED] Step 2: Describe your environment
[REQUIRED] Step 3: Describe the problem
Steps to reproduce:
When using Firebase Performance Monitoring (automatic http metrics) with OkHttp, the response payload size is not reported to Firebase.
The reason is if OkHttp does transparent gzip decompression, the library omits the
Content-Length
header, and hence Firebase is unable to report it.I do not know what would be better -
Content-Length
Here is more details about the issue on OkHttp
square/okhttp#259 (comment)
Relevant Code:
The text was updated successfully, but these errors were encountered: