Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] Why does push request contain query string?

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 <sbordet@xxxxxxxxxxx> wrote:

On Mon, Sep 16, 2019 at 5:26 PM John Jiang <john.sha.jiang@xxxxxxxxx> 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
Developer advice, training, services and support
from the Jetty & CometD experts.
jetty-users mailing list
To change your delivery options, retrieve your password, or unsubscribe from this list, visit


Back to the top