Fix POST 303 redirect resonse handling

This fixes issue #1156.

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
Merge pull request #1158 from yehudasa/master

Fix check that breaks handling of 303 response in some cases (v2)