Understanding HTTP Long Connections in Nginx

Understanding HTTP Long Connections in Nginx

In Nginx, the HTTP module uses configurations related to HTTP long connections (mainly the keepalive directive) and explains the principles of HTTP long connections. 1. HTTP Long Connections 1.1 Prerequisites Connection management is a key topic in HTTP: opening and maintaining connections greatly affects the performance of websites and web applications. In HTTP/1.x, there are … Read more

Basics of HTTP and Simple Telnet Commands

Basics of HTTP and Simple Telnet Commands

1. Overview of HTTP In the early 1990s, a major emerging application known as the World Wide Web took the stage. The Web is an Internet application that has captured public attention. The application layer protocol of the Web is Hypertext Transfer Protocol (HTTP), which is at the core of the Web. HTTP is implemented … Read more

Notes on Understanding HTTP

Notes on Understanding HTTP

Notes on Understanding HTTP ❝ This is the 285th article in the series on growth by Guoxing. ❞ (1) Reading Understanding HTTP The duration is three weeks from July 11 to July 31. 1. Why Learn HTTP? The front end (client) displays pages and interactions; The back end (server, logic code, data) completes function writing … Read more

Core Principles of Web Crawlers: How an HTTP Request is Completed

Core Principles of Web Crawlers: How an HTTP Request is Completed

Author: Da Mu Jiang https://my.oschina.net/luozhou/blog/3003053 Overview In the previous article, “Do You Know What Happens Behind the Scenes When You Ping?” we analyzed the process of a <span>Ping</span> using actual packet capture (a common interview question). We learned that <span>ping</span> relies on the <span>ICMP</span> protocol and also involves <span>ARP</span> requests in a local area network. … Read more

An Overview of HTTP Request Methods

An Overview of HTTP Request Methods

Mind Map The HTTP request methods currently in mainstream use are quite fixed and have not changed significantly with major version upgrades. According to common, uncommon, and extended, they can be divided into the 3 categories shown above.To thoroughly understand these request methods, we need to consider several aspects: What was the original intention behind … Read more

Why Does HTTPS Return Large Data While HTTP Returns Line by Line?

Why Does HTTPS Return Large Data While HTTP Returns Line by Line?

Background: Recently, while debugging a ChatGPT dialogue website, I encountered issues with large data responses, leading me to use stream reading. The initial HTTP calls worked without any problems, but when switching to HTTPS in production, I kept facing errors. After struggling with this issue for two days, I finally resolved it with the help … Read more

Creating HTTP and HTTPS Servers and Clients with Node.js

Creating HTTP and HTTPS Servers and Clients with Node.js

Source | https://blog.csdn.net/ligang2585116/article/details/72827781 The HyperText Transfer Protocol (HTTP) is the most widely used network protocol on the Internet. All WWW files must comply with this standard. HTTP was originally designed to provide a method for publishing and receiving HTML pages. It belongs to the “Application Layer” of the seven-layer network protocol as shown in the … Read more

Efficient HTTP Large Data Requests Using Go Language Streaming Processing

Hi everyone, I am Hu Ge! Today, let’s talk about something hardcore — the streaming processing feature of Go language. You should know that in development, we often need to handle some large amounts of data, such as large file uploads or processing content that is generated gradually. At this point, if you are using … Read more

26 HTTP and HTTPS Interview Questions with Answers

26 HTTP and HTTPS Interview Questions with Answers

The web front end is the page result that users see when they type a line of letters in the browser’s address bar. However, what happens from typing letters to seeing the page, and how data is obtained, all rely on HTTP/HTTPS. However, this part is often overlooked by readers, so candidates need to gather … Read more

Learn Interface Testing from Scratch – HTTP Message Structure

Learn Interface Testing from Scratch - HTTP Message Structure

1. HTTP Request/Response Message 1. HTTP Communication Process: The client sends a request to the server, and the server returns a response to the client. 2. Message: The message: Information exchanged between the HTTP protocol client and server. It is divided into message header and message body. Request message: The request information submitted by the … Read more