improve Error.Http#toString
add content-type header