This PR fixes ErrorWriter to correctly return unsupported protocol if the option WithRequireConnectProtocolHeader is set and the header or query value isn't include in the request. It will now correctly return unsupported to ensure fallback options can process the error.
This PR fixes ErrorWriter to correctly return unsupported protocol if the option
WithRequireConnectProtocolHeader
is set and the header or query value isn't include in the request. It will now correctly return unsupported to ensure fallback options can process the error.Fixes #699