[patch iwhd 1/3] Parse error report in case of HTTP error

Jim Meyering jim at meyering.net
Mon Oct 10 20:10:19 UTC 2011


Pete Zaitcev wrote:
> When import of a template is requested, the POST request itself may fail.
> In such case, there is no import status URL is returned to client, and
> thus the error message cannot be retrieved. However, RHEV-M may return
> exactly the same body alongside with the POST result. HTTP permits that.
>
> This patch adds a code to attempt to parse such error message, if any.

Thanks, Pete.  This looks fine.
I went ahead and pushed it along with the other two
even though I haven't tested it.


More information about the iwhd-devel mailing list