bandit icon indicating copy to clipboard operation
bandit copied to clipboard

Support h2c via Upgrade: header

Open mtrudel opened this issue 2 years ago • 0 comments

As specified in RFC7540§3.2, allow HTTP/1.1 connections to upgrade to h2

Most of the plumbing is in place for this in the form of Bandit.DelegatingHandler. For examples of how to change protocols on the fly, see Bandit.InitialHandler's protocol sniffing implementation.

mtrudel avatar Oct 12 '21 23:10 mtrudel