@ -119,7 +119,7 @@ func (r Request) Create() (resp *Response, err error) {
}
log.Infof("response status: %d", client.HTTPStatus)
if http.StatusCreated != client.HTTPStatus {
log.Errorf("unexpected response")
client.Print()
err = errors.New("unexpected response")
return
@ -42,5 +42,5 @@ func DeleteHtmlTags(src string) string {
return ""
return html.UnescapeString(des)
return html.UnescapeString(des)[1:]