We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I would like to receive the response body whenever an upgrade error occurs
until version 4.0.6, the HTTPUpgradeError.notAnUpgrade provides the response code and headers
HTTPUpgradeError.notAnUpgrade
Any demo code that may used to implement/use the desired feature.
add an additional associated value to the enum like: notAnUpgrade(Int, [String: String], Data?)
notAnUpgrade(Int, [String: String], Data?)
Some times, additional context can be provided in upgrade error responses via the response body which, is currently unaccessible
The text was updated successfully, but these errors were encountered:
No branches or pull requests
What do you want to happen?
What happens now?
Demo Code
Describe alternatives you've considered
Additional context
The text was updated successfully, but these errors were encountered: