I was wondering what would Android Chromium behavior be if there are multiple "Content-Length" entries returned in the response headers. Which one will be chosen eventually, and would this break rendering in any way?
The context is that I was toying with the Android's shouldInterceptRequest API. It turns out that shouldInterceptRequest always inject a "Content-Length: 0" in the response, so providing an additional Content-Length header via the API with a valid positive length would make this header field a repeated one. For instance for one response using this API the headers show up as "Content-Length: 0, 428" in the Chrome inspector.
Thank you in advance!
--
You received this message because you are subscribed to the Google Groups "net-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to net-dev+u...@chromium.org.
To post to this group, send email to net...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/net-dev/c3f57c9b-8943-4605-8569-efea69387241%40chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/net-dev/CAEK7mvr33hqQwu3L_TmNaodaqB5u5D3WCB5hrT0y6R2VF7U4_g%40mail.gmail.com.
Also, what would happen if "Content-Length" is set to 0 (just one value), would chrome continue to download the body in that case.