removed unnecessary curl config options (get and redirect)