On Mon, 22 May 2023 17:54:02 GMT, Daniel Fuchs <dfu...@openjdk.org> wrote:
>>> has this comment >> >> Interesting. And yet that does not appear to be true in `master`: >> `getContentType` and `getContentLength` will return whatever was in effect >> at the time `initializeHeaders()` was first called, which may have been >> before any explicit call to `connect()`, or hours after an explicit call. > > Ah! It's true only if the first time connect is called, it's implicitly by > `initializeHeaders()` (sigh)... @Michael-Mc-Mahon what do you think? ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/12871#discussion_r1200855748