Socket
Socket
Sign inDemoInstall

superagent

Package Overview
Dependencies
Maintainers
1
Versions
173
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

superagent - npm Package Compare versions

Comparing version 0.8.0 to 0.8.1

5

History.md
0.8.1 / 2012-08-21
==================
* fix redirects when schema is specified
0.8.0 / 2012-08-19

@@ -3,0 +8,0 @@ ==================

3

lib/node/index.js

@@ -405,3 +405,4 @@

Request.prototype.redirect = function(res){
var url = this.protocol + res.headers.location;
var url = res.headers.location;
if (!~url.indexOf('://')) url = this.protocol + url;
delete this.req;

@@ -408,0 +409,0 @@ this.method = 'HEAD' == this.method

{
"name": "superagent"
, "version": "0.8.0"
, "version": "0.8.1"
, "description": "elegant & feature rich browser / node HTTP with a fluent API"

@@ -5,0 +5,0 @@ , "keywords": ["http", "ajax", "request", "agent"]

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc