2.0.0
fix bug: HttpError without 'new' keyword could not carry a body
do not set json content-type without data