- // It's unfortunate that this logic of when a redirect's method changes is
- // in url_request.cc, but weburlloader_impl.cc and this file have to duplicate
- // it instead of passing that information.
- int response_code = info.headers->response_code();
- method_ = net::URLRequest::ComputeMethodForRedirect(method_, response_code);