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 <[email protected]> wrote:

> 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 <[email protected]> wrote:
>
>> Hi,
>>
>> On Mon, Sep 16, 2019 at 5:26 PM John Jiang <[email protected]>
>> 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 followings,
>> > http://host:port/img1?query
>> > http://host:port/img2?query
>> >
>> > Does it make sense that the query string is always in the push requests?
>>
>> That does not look right.
>> Can you please open an issue about this?
>>
>> --
>> Simone Bordet
>> ----
>> http://cometd.org
>> http://webtide.com
>> Developer advice, training, services and support
>> from the Jetty & CometD experts.
>> _______________________________________________
>> jetty-users mailing list
>> [email protected]
>> To change your delivery options, retrieve your password, or unsubscribe
>> from this list, visit
>> https://www.eclipse.org/mailman/listinfo/jetty-users
>>
>
>
> --
> Greg Wilkins <[email protected]> CTO http://webtide.com
>


-- 
Greg Wilkins <[email protected]> CTO http://webtide.com
_______________________________________________
jetty-users mailing list
[email protected]
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://www.eclipse.org/mailman/listinfo/jetty-users

Reply via email to