Added redirectHttpMethod as an option so that DELETE/PUT/POST method calls can be used.