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

shc

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

shc

  • 0.0.1
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

Simple http(s) client

A simple HTTP(S) client in Ruby to query any RESTful API.


Will be Implemented Request methods :

  • GET
  • POST
  • PUT
  • DELETE

Need to be implemented :

  • HEAD
  • TRACE
  • OPTIONS
  • CONNECT
  • PATCH

Request methods cheat-sheet

HTTP MethodRFCRequest has BodyResponse has bodySafeIdempotentCacheable
GET7231NoYesYesYesYes
HEAD7231NoNoYesYesYes
POST7231YesYesNoNoYes
PUT7231YesYesNoYesNo
DELETE7231NoYesNoYesNo
PATCH5789YesYesNoNoYes
CONNECT7231YesYesNoNoNo
TRACE7231NoYesYesYesNo
OPTIONS7231OptionalYesYesYesNo

Some "Request Methods" explanations

HEAD

The HEAD method asks for a response identical to that of a GET request, but without the response body. This is useful for retrieving meta-information written in response headers, without having to transport the entire content

TRACE

The TRACE method echoes the received request so that a client can see what (if any) changes or additions have been made by intermediate servers.

OPTIONS

The OPTIONS method returns the HTTP methods that the server supports for the specified URL. This can be used to check the functionality of a web server by requesting '*' instead of a specific resource.

CONNECT

The CONNECT method converts the request connection to a transparent TCP/IP tunnel, usually to facilitate SSL-encrypted communication (HTTPS) through an unencrypted HTTP proxy.

FAQs

Package last updated on 27 Jun 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

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