RFR: 8252304: Seed an HttpRequest.Builder from an existing HttpRequest [v8]

Patrick Concannon pconcannon at openjdk.java.net
Wed Nov 18 12:23:20 UTC 2020


On Tue, 17 Nov 2020 16:50:46 GMT, Daniel Fuchs <dfuchs at openjdk.org> wrote:

>> Would it be enough to check in each test case that if we are examining a request with headers, it contains at least one called `testName1`? i.e.
>>         if(!request.headers().map().isEmpty())
>>             assertTrue(request.headers().map().containsKey("testName1"));
>
> I will settle for that ��

OK. Check added to commit https://github.com/openjdk/jdk/pull/1059/commits/68ea89e1c55735adc9230b8abc07e1df3ffc03ca

-------------

PR: https://git.openjdk.java.net/jdk/pull/1059


More information about the net-dev mailing list