Make HTTPObject::post work

For #918