|
After a lot of confusion, I finally determined that the Proxmox VE API delivers its error reasons for failed requests using the HTTP response reason string. Because it's not obviously documented anywhere, and because async-http discards it: It took me far to long to figure this out. Short of monkey-patching the HTTP1::Response class 🤢, is there a less disgusting way for me to get this information? Perhaps a way to specify what response class should be used? Any help is appreciated! This works, but I don't like it: |
Answered by
ioquatix
Oct 24, 2023
Replies: 2 comments 1 reply
|
I am okay with your suggested change, do you want to make a PR? |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For the record, I've merged it, and will release it this week.