response code returns 302 not 200