Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

gohttp

Package Overview
Dependencies
Maintainers
1
Versions
125
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gohttp - npm Package Compare versions

Comparing version 1.3.1 to 1.3.2

2

bodymaker.js

@@ -46,3 +46,3 @@ 'use strict';

if (name_split.length < 2) { return ''; }
return `.${name_split[name_split.length - 1]}`;
return name_split[name_split.length - 1];
};

@@ -49,0 +49,0 @@

/**
* gohttp 1.3.1
* gohttp 1.3.2
* Copyright (c) [2019.08] BraveWang

@@ -149,3 +149,5 @@ * This software is licensed under the MPL-2.0.

postState.isUpload = true;
postData = this.bodymaker.makeUploadData(opts.body); break;
postData = this.bodymaker.makeUploadData(opts.body);
opts.headers['content-type'] = postData['content-type'];
break;
default:

@@ -152,0 +154,0 @@ postData.body = JSON.stringify(opts.body);

{
"name": "gohttp",
"version": "1.3.1",
"version": "1.3.2",
"description": "http client for HTTP/1.1",

@@ -5,0 +5,0 @@ "main": "httpcli.js",

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