Re: Tomcat /examples ServerPush
On Thu, Jun 22, 2017 at 4:05 PM, Violeta Georgievawrote: > Hi, > > 2017-06-22 22:55 GMT+03:00 Coty Sutherland : >> >> Hi, >> >> I was just looking at the 8.5.16 examples and noticed that we had a >> ServerPush example on there. I attempted to use it and got back a >> response that I didn't quite get :( >> >> /examples/servlets/serverpush/simpleimage >> "Server push requests are not supported by this protocol." > > Do you request it with localhost:8443 or with localhost:8080? It was http (8080), but then I was alerted to the fact that ServerPush requires http/2 (SSL) to work...so the response makes sense to me now. If I were a inexperienced new user though, maybe seeing something saying 'this requires http/2' would save me some headache. > Violeta > >> >> I assume that ServerPush only works on streaming protocols, right? If >> so, can we put that qualifier on the response so that users know >> immediately without having to look at how the processor works? Or do >> we really care much since its a 'early preview'? >> >> >> >> Thanks, >> Coty >> >> - >> To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org >> For additional commands, e-mail: dev-h...@tomcat.apache.org >> - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
Re: Tomcat /examples ServerPush
Hi, 2017-06-22 22:55 GMT+03:00 Coty Sutherland: > > Hi, > > I was just looking at the 8.5.16 examples and noticed that we had a > ServerPush example on there. I attempted to use it and got back a > response that I didn't quite get :( > > /examples/servlets/serverpush/simpleimage > "Server push requests are not supported by this protocol." Do you request it with localhost:8443 or with localhost:8080? Violeta > > I assume that ServerPush only works on streaming protocols, right? If > so, can we put that qualifier on the response so that users know > immediately without having to look at how the processor works? Or do > we really care much since its a 'early preview'? > > > > Thanks, > Coty > > - > To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org > For additional commands, e-mail: dev-h...@tomcat.apache.org >
Tomcat /examples ServerPush
Hi, I was just looking at the 8.5.16 examples and noticed that we had a ServerPush example on there. I attempted to use it and got back a response that I didn't quite get :( /examples/servlets/serverpush/simpleimage "Server push requests are not supported by this protocol." I assume that ServerPush only works on streaming protocols, right? If so, can we put that qualifier on the response so that users know immediately without having to look at how the processor works? Or do we really care much since its a 'early preview'? Thanks, Coty - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org