Fixed HTTP,  added a work around for redirecting