Skip to content

request.agent() is not patched #45

@kornelski

Description

@kornelski

It's possible to make it work properly via subclassing — #44 — since the .agent() method will invoke superagent.Request.

A quick'n'dirty way of making it sort-of work (except cookies):

  superagent.agent = function() {
    return this;
  }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions