Skip to content

Reconsider the redirection code in the request module. #56

Description

@charbugs

Comment of resolveRedirect():
/**

  • XMLHttpRequest actually follows the redirects by its own. But doing this
  • with a POST request will end in a GET request, at least on
  • Chromium 53.0.2785.89 Built on 8.5.
  • So we resolve the redirects with a HEAD request.
    */

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions