Search code examples
azure-web-app-servicehttp2

Will HTTP/2 in Azure App Service auto fallback to HTTP/1.1 for legacy browsers


I want to turn on HTTP/2 for my web app hosted by Azure App Service. However, 1% of my users are using browsers that doesn't support HTTP/2.

Does Azure App Service automatically fallback to HTTP/1.1 for these browsers even if I've turned HTTP/2 on?

In other words,

When turn on HTTP/2 in Azure app service instance, will the server accept HTTP/1.1 request from browsers?

I checked the Azure App Service announcement here, but it doesn't say if auto-fallback is support or not.


Solution

  • Looking at the article HTTP/2 support in Azure Front Door Service: yes, it will.

    I know the article is about Azure Front Door Service, but if that enables old browsers to fallback, App Service will do so too. And of course, App Service supports both 1.1 and 2.0.

    HTTP/2 browser support
    All of the major browsers have implemented HTTP/2 support in their current versions. Non-supported browsers automatically fallback to HTTP/1.1.