From 3d015fd35f81406bffbe304a309d937b53b2cecc Mon Sep 17 00:00:00 2001 From: Abhinav Nath Date: Tue, 2 Aug 2022 01:24:11 +0530 Subject: [PATCH] Add link for HTTP in Communication section, Fix grammar --- README.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 9f0be486..161fc80a 100644 --- a/README.md +++ b/README.md @@ -162,6 +162,7 @@ Review the [Contributing Guidelines](CONTRIBUTING.md). * [Task queues](#task-queues) * [Back pressure](#back-pressure) * [Communication](#communication) + * [Hypertext transfer protocol (HTTP)](#hypertext-transfer-protocol-http) * [Transmission control protocol (TCP)](#transmission-control-protocol-tcp) * [User datagram protocol (UDP)](#user-datagram-protocol-udp) * [Remote procedure call (RPC)](#remote-procedure-call-rpc) @@ -1379,13 +1380,13 @@ If queues start to grow significantly, the queue size can become larger than mem HTTP is a method for encoding and transporting data between a client and a server. It is a request/response protocol: clients issue requests and servers issue responses with relevant content and completion status info about the request. HTTP is self-contained, allowing requests and responses to flow through many intermediate routers and servers that perform load balancing, caching, encryption, and compression. -A basic HTTP request consists of a verb (method) and a resource (endpoint). Below are common HTTP verbs: +A basic HTTP request consists of a verb (method) and a resource (endpoint). Below are the common HTTP verbs: | Verb | Description | Idempotent* | Safe | Cacheable | |---|---|---|---|---| | GET | Reads a resource | Yes | Yes | Yes | -| POST | Creates a resource or trigger a process that handles data | No | No | Yes if response contains freshness info | -| PUT | Creates or replace a resource | Yes | No | No | +| POST | Creates a resource or triggers a process that handles data | No | No | Yes if response contains freshness info | +| PUT | Creates or replaces a resource | Yes | No | No | | PATCH | Partially updates a resource | No | No | Yes if response contains freshness info | | DELETE | Deletes a resource | Yes | No | No |