Http/2 in browsers with http/1.x

Asked

Viewed 21 times

0

Good night, you guys. I am with java web project where I use Servlet 4.0 and because it uses http/2 I have a question:

My project’s http/2 will work in browsers with http/1.x as if it were http /1?

I don’t know if I asked you correctly.

  • I believe it works normally only without the http2 Features

  • It is likely that the servelet recognizes by the HTTP input of the request whether it is 1.0, 1.1 or 2.0 and then decides how to deliver, ie Navegador => requisição HTTP -> servelet avalia => after evaluating whether it is 1.0, 1.1 or 2.0 will be sent to RESPOSTA HTTP required for the client/browser order. That is, the project is HTTP2, but this is to support HTTP2 and not only HTTP2 support, or is to include.

  • Thanks for the explanation.So I need to encode my Servlet to provide the 2 types of http (1.x and 2)?

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.