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

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
----
http://cometd.org
http://webtide.com
Developer advice, training, services and support
from the Jetty & CometD experts.
_______________________________________________
jetty-users mailing list
jetty-users@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/jetty-users


--


--

Back to the top