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 3.2.7 to 4.0.0-beta

hiio.js

6

gohttp.js

@@ -258,6 +258,6 @@ 'use strict';

if (res.statusCode == 200) {
if (res.statusCode >= 400) {
ret.ok = false;
} else {
ret.ok = true;
} else {
ret.ok = false;
}

@@ -264,0 +264,0 @@ rv(ret);

{
"name": "gohttp",
"version": "3.2.7",
"version": "4.0.0-beta",
"description": "http client for HTTP/1.1",
"main": "gohttp.js",
"main": "index.js",
"scripts": {

@@ -7,0 +7,0 @@ "test": "echo \"Error: no test specified\" && exit 1"

![](images/gohttp.png)
![](images/gohttp.jpg)

@@ -147,5 +147,5 @@ # gohttp

}).catch(err => {
console.log(err);
console.error(err);
});
```
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