Understanding HTTP Request Methods

Understanding HTTP Request Methods

For more quality interview questions and study notes, visit KamaCoder Notes:https://notes.kamacoder.com Today’s recommended quality notes: https://notes.kamacoder.com/questions/500003 “What are the HTTP request methods?” unsetunsetBrief Answerunsetunset HTTP/1.1 originally defined 8 core request methods (RFC 2616, 1999): GET: Retrieve resources, parameters in the URL, safe and idempotent. POST: Submit data (e.g., form data), may change server state. PUT: … Read more

A Detailed Explanation of HTTP

A Detailed Explanation of HTTP

Web Crawlers are a common application scenario in Python, primarily used to gather information from the internet. Since crawlers rely on the network, it is essential for us to understand what a network is. A network consists of several nodes connected by links, and the vast network formed by connecting multiple networks is called the … Read more

In-Depth Explanation of TCP/IP Protocol (Must-Read for Advanced Users)

In-Depth Explanation of TCP/IP Protocol (Must-Read for Advanced Users)

Reading this article takes about 7.45 minutes. Author: Ruan Yifeng http://www.ruanyifeng.com/blog/2012/06/internet_protocol_suite_part_ii.html This article is a supplement to the previous introduction to the TCP/IP protocol, expanding on various protocols to give everyone a global overview of network protocols. The previous article analyzed the overall concept of the Internet, from the bottom up, discussing the design philosophy … Read more

Explaining TCP/IP Three-Way Handshake and Four-Way Wavehand with a Girlfriend Example

Explaining TCP/IP Three-Way Handshake and Four-Way Wavehand with a Girlfriend Example

Background Having been in a long-distance relationship with my girlfriend for over a year, I suggested that we video chat every night to maintain our feelings. Since we started dating, we have managed to keep this up for over a year. Problem Sometimes during our chats, either my network or hers might be unstable, causing … Read more

10 Essential TCP/IP Questions Explained with 15 Images

10 Essential TCP/IP Questions Explained with 15 Images

Source: https://juejin.im/post/6844903490595061767 Author: Ruheng 1. TCP/IP Model The TCP/IP protocol model (Transmission Control Protocol/Internet Protocol) includes a series of network protocols that form the foundation of the Internet and is the core protocol of the Internet. The reference model based on TCP/IP divides the protocols into four layers: Link Layer, Network Layer, Transport Layer, and … Read more

In-Depth Understanding of TCP/IP Protocol: TCP Connection Establishment and Termination

In-Depth Understanding of TCP/IP Protocol: TCP Connection Establishment and Termination

This article is reprinted from WeChat public account: Linwan Village Chinchilla 1. Introduction   TCP is a connection-oriented protocol. Before either party sends data in any direction, a connection must be established between the two parties. The state transition diagram for connection creation and termination is as follows: 2. Three-Way Handshake to Establish Connection The process … Read more

TCP/IP Study Notes (10) – Establishment and Termination of TCP Connections

TCP/IP Study Notes (10) - Establishment and Termination of TCP Connections

The establishment of a TCP connection can be simply referred to as a three-way handshake, while the termination of the connection can be called a four-way handshake. TCP is a connection-oriented protocol, so both parties need to establish a connection before sending data. This is completely different from the protocols discussed earlier. All the previous … Read more

The Correct Approach to TCP/IP Three-Way Handshake and Four-Way Wave

The Correct Approach to TCP/IP Three-Way Handshake and Four-Way Wave

Background: I have been in a long-distance relationship with my girlfriend for over a year. To maintain our relationship, I suggested that we video chat every night. Since we started dating, we have managed to stick to this for over a year. Author: Champin, Original: https://my.oschina.net/u/3708120/blog/1581023 Issue Sometimes during our chats, either my network or … Read more

Understanding TCP Through a Historical Analogy

Understanding TCP Through a Historical Analogy

Introduction: This article aims to discuss knowledge about TCP. Please forgive any inappropriate metaphors. In the fourth year of the Tianqi era of the Ming Dynasty, early morning. As dawn broke, I drove a horse-drawn cart full of goods to the South City Gate, which was the central location for handling goods. A line of … Read more