Fix POST 303 redirect resonse handling

This fixes issue #1156.

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>