Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net/http: expose "http: server gave HTTP response to HTTPS client" error
Expose "http: server gave HTTP response to HTTPS client" error as ErrSchemeMismatch, so that it can be compared with errors.Is . Fixes golang#44855 Signed-off-by: Akihiro Suda <[email protected]>
- Loading branch information