Implementing a Simple HTTP Proxy in Golang

Implementing a Simple HTTP Proxy in Golang

This article details the implementation of an HTTP proxy using Golang. Those who have such needs in practical business can start learning! A proxy is an important function in the network, which serves to proxy network users to obtain network information. Figuratively speaking, it is a transfer station for network information. For clients, the proxy … Read more

Analysis of HTTP2 Features

Analysis of HTTP2 Features

This article mainly introduces some improvements and new features of HTTP2 compared to HTTP1.1. 1. Shortcomings of HTTP1.1 The HTTP protocol adopts a “request-response” model. When using the normal mode, i.e., non-KeepAlive mode, a new connection must be established for each request/response between the client and server, and the connection is immediately closed after completion … Read more

Understanding the Differences Between RPC and HTTP Calls

Understanding the Differences Between RPC and HTTP Calls

Author: Floating Life Dream Source: blog.csdn.net/m0_38110132/article/details/81481454 For a long time, I never really understood the difference between RPC (Remote Procedure Call) and HTTP calls. Aren’t they just about writing a service and calling it on the client side? Please allow me a naive smile here~ Naive! This article briefly introduces the two forms of C/S … Read more

Basics of Go Language: net/http Package

Basics of Go Language: net/http Package

Source:jianshu.com/p/8bf41fef20c7 【Introduction】This article introduces the Go language’s standard library net/http. The built-in net/http package in Go is excellent, providing implementations for both HTTP clients and servers. Introduction to net/http The built-in net/http package in Go provides implementations for both HTTP clients and servers. HTTP Protocol The HyperText Transfer Protocol (HTTP) is the most widely used … Read more

Goodbye HttpClient! Goodbye OkHttp!

Goodbye HttpClient! Goodbye OkHttp!

Java interview and written exam experience, learn a bit of Java technology every day Public account Java interview Follow me to avoid getting lost Author: Bo Saidong Source: https://www.cnblogs.com/bryan31/ Background Due to business needs, I have to integrate with many different third-party companies. These service providers all offer HTTP-based APIs. However, the specific details of … Read more

Beginner’s Guide to API Testing – Basics of HTTP Protocol

1、URL:Uniform Resource Locator 2、Components of URL: <protocol>://[<user>:<password>]@<host>:<port>/<path>[:<params>]?<query>#<fragment> protocol:The protocol used for access, such as: http, https, ftp host:The hostname, which can be an IP address or a domain name, for example: 192.168.10.12, www.baidu.com. port:The port of the host when accessed. The default port for HTTP protocol is 80 and can be omitted. path:We can locate … Read more

Comprehensive Detection of HTTP, HTTPS, and Encrypted Webshells

1. Introduction Webshells are malicious scripts used by hackers to attack websites. Identifying webshell files or communication traffic can effectively prevent further attacks by hackers. Currently, the detection methods for webshells are mainly divided into three categories: static detection, dynamic detection, and log detection. Static detection analyzes webshell files and extracts their coding rules to … Read more

How to Write a Simple HTTP Server in C++

How to Write a Simple HTTP Server in C++

Click the blue text Follow us Source from the Internet, please delete if infringing This article will not involve many complex concepts and does not write difficult-to-understand template functions. The code is simple and readable. This article is dedicated to everyone who wants to write an HTTP server in C++! Experts and big shots can … Read more

Understanding HTTP Status Codes

Understanding HTTP Status Codes

Click the blue text above to follow us 1xx: Informational This class of status codes indicates a temporary response. The client should be prepared to receive one or more 1xx responses before receiving a regular response. HTTP Status Code Description 100 Continue. 101 Switching Protocols. 2xx: Success This class of status codes indicates that the … Read more

Python Web Scraping: HTTP and HTTPS Protocols

Python Web Scraping: HTTP and HTTPS Protocols

Application Architecture The rapid development of the Internet is driven by commercial economics. Currently, almost all commercial applications are based on the Internet, and they generally use C/S architecture, B/S architecture, or M/S architecture. C/S stands for Client-Server. B/S stands for Browser-Server. M/S stands for Mobile-Server. HTTP Protocol Currently, 90% of network transmissions on the … Read more