AW: jdk.httpserver and HTTP/2 support ?

2021-11-09 Thread pierre.viret
Hi Daniel I think that there are many users of this module, and on my opinion it would make sense to add this new feature: as HTTP/2 is becoming more common it would be great to be able to use the jdk.net.httpserver for this use case, for instance in testing and educational purpose. If we find

jdk.httpserver and HTTP/2 support ?

2021-11-09 Thread pierre.viret
Hi I think that the HttpServer delivered within the JDK does not support HTTP/2 yet, I didn't find any clue about it. Is there any plan to add this support in a near future? Regards, Pierre Remarque concernant la sécurité: Ce courriel provenant de PostFinance est signé. Vous trouverez d'autre

Is it the correct mailing list for jdk.httpserver ?

2021-11-09 Thread pierre.viret
Hi I have some questions about the com.sun.net.httpserver.HttpServer provided in the openjdk: is it the correct mailing list for discussions about it ? I have searched a bit but found no other appropriate list. Thanks & Regards Pierre Remarque concernant la sécurité: Ce courriel provenant de P

AW: 8276774 Solution Proposal for Cookie stored in CookieHandler not sent if user headers contain cookie

2021-11-08 Thread pierre.viret
Hi Daniel Thank you very much for your feedback. To allow user cookies to override system cookies would be a new feature, this was not performed in the java11 version neither if I get it right. I think that to implement this in the collectCookies method would imply quite a bit of parsing as th

8276774 Solution Proposal for Cookie stored in CookieHandler not sent if user headers contain cookie

2021-11-07 Thread pierre.viret
Hi I have filled a bug report for a problem with Cookie in HttpClient and following bug was opened now: Issue: https://bugs.openjdk.java.net/browse/JDK-8276774 Proposal to solve the problem for Http/1.1: * Class jdk/internal/net/http/Http1Request.java, Method collectHeaders0 *