I'm using a custom "Host" header in my requests. When using the Cronet engine, I see in the netlog that my custom "Host" header is dropped. The same does not happen with OkHttpClient.
At HTTP_CACHE_CALLER_REQUEST_HEADERS
step, I still see the header. However, at HTTP_TRANSACTION_HTTP2_SEND_REQUEST_HEADERS
, it's gone.
Is there a reason why Cronet drops this header and is there a way to specify that it shouldn't? I'm running embedded Cronet 119.6045.31
on Android 14.