Re: Priority can be set for HttpClient with HTTP/1.1

2018-08-08 Thread Chris Hegarty
Hi Nezih, The client’s version is a default preferred version for requests that do not specify an explicit version. As such, it does not prevent requests, attempting to negotiate HTTP/2, from being sent, just that it is not the default. Given that, then the priority value is still be applicable

Priority can be set for HttpClient with HTTP/1.1

2018-08-01 Thread nezih yigitbasi
Hi, Priority is only defined for version HTTP_2 (and that's clear from the javadoc). However, it's possible to construct an instance of HttpClient with a priority value and with version HTTP_1_1 (tested with Java "9.0.1"). I feel that it will be less error prone for the users if conflicting combina