-
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:
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
I am okay with your suggested change, do you want to make a PR? |
Beta Was this translation helpful? Give feedback.
For the record, I've merged it, and will release it this week.