handle 302 status's
handle no location url
add test for 302 status's