Re: [jetty-users] Why does push request contain query string?

2019-09-16 Thread John Jiang
Got it, thanks! On Tue, Sep 17, 2019 at 7:32 AM Greg Wilkins wrote: > The spec for pushbuilder in 4.0 says that it will be initialized with the > query string: > > > https://javaee.github.io/javaee-spec/javadocs/javax/servlet/http/PushBuilder.html > > On Tue, 17 Sep 2019 at 09:26, Greg Wilkins

Re: [jetty-users] Why does push request contain query string?

2019-09-16 Thread Greg Wilkins
The spec for pushbuilder in 4.0 says that it will be initialized with the query string: https://javaee.github.io/javaee-spec/javadocs/javax/servlet/http/PushBuilder.html On Tue, 17 Sep 2019 at 09:26, Greg Wilkins wrote: > The PushBuilder is initialized with all the headers and query string of

Re: [jetty-users] Why does push request contain query string?

2019-09-16 Thread Greg Wilkins
The PushBuilder is initialized with all the headers and query string of the existing request. You have to reset the query string if you don't want it. This looks deliberate in the code but need to check if it really is intended by the spec. On Tue, 17 Sep 2019 at 01:58, Simone Bordet

Re: [jetty-users] Why does push request contain query string?

2019-09-16 Thread Simone Bordet
Hi, On Mon, Sep 16, 2019 at 5:26 PM John Jiang wrote: > > Hi, > I'm using Jetty 10.0.0-alpha0 > Please consider this case: > 1. Client sends request for the below url, > http://host:port/push?query > 2. Server pushes some resources, including img1, img2. > The push requests look like the

[jetty-users] Why does push request contain query string?

2019-09-16 Thread John Jiang
Hi, I'm using Jetty 10.0.0-alpha0 Please consider this case: 1. Client sends request for the below url, http://host:port/push?query 2. Server pushes some resources, including img1, img2. The push requests look like the followings, http://host:port/img1?query http://host:port/img2?query Does it