Fixing assertion 200 and 302 are good status codes

Fixes issue #4