Understanding HTTP Proxies: Theory and Practice

Understanding HTTP Proxies: Theory and Practice

/ Today’s Tech News / Sam Altman, the CEO of OpenAI, known as the “father of OpenAI”, warned at a Brookings Institution discussion on artificial intelligence and geopolitics that the economic impact of AI may be greatly underestimated. Altman said, “What I am most worried about right now is what kind of changes socioeconomic changes … Read more

Understanding HTTP 2.0 and OkHttp

Understanding HTTP 2.0 and OkHttp

HTTP 2.0 is an extension of 1.x rather than a replacement. It is called “2.0” because it changes the way data is exchanged between clients and servers. HTTP 2.0 introduces a new binary framing layer that is not compatible with previous HTTP 1.x servers and clients — hence the name 2.0. Before formally introducing HTTP … Read more

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

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

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

Implementing an HTTP Downloader in C

Implementing an HTTP Downloader in C

Click the blue text Follow us Due to changes in the public account push rules, please click “View” and add “Star” to get exciting technical shares at the first time Source from the internet, please delete if infringing This time I would like to share an HTTP downloader implemented in C. For example, when doing … 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