4 Solutions for Loading HTTP Resources on HTTPS Pages

Source | https://www.fly63.com Switching to HTTPS may seem like a simple issue of domain pointing, perhaps we just need to redirect HTTP requests to the HTTPS address, and that would complete the switch. However, it’s not that simple. When an HTTPS address loads HTTP resources, the browser considers these resources insecure and will block them … Read more

HTTP 3.0 Completely Abandons TCP: What Went Wrong?

Author l Hollis Source l Hollis (ID: hollischuang) Since HTTP/1.0 and up to HTTP/2, regardless of how the application layer protocol has improved, TCP has always been the foundation of the HTTP protocol mainly because it provides a reliable connection. However, starting from HTTP 3.0, this situation has changed. Because, in the newly released HTTP … Read more

What Did TCP Do Wrong in Abandoning HTTP 3.0?

Since HTTP/1.0, up to HTTP/2, TCP has always been the foundation of the HTTP protocol, mainly because it provides a reliable connection. However, starting from HTTP 3.0, this situation has changed. Because, in the newly launched HTTP 3.0, the TCP protocol has been completely abandoned. TCP Head-of-Line Blocking We know that during TCP transmission, data … Read more

Key Summary of URL and HTTP Protocols

URL: is a type of URI that identifies an Internet resource and specifies how to operate on or retrieve that resource. It can be identified either through the description of the primary access method or through its “location” on the network. Most URLs follow a standard format that consists of three parts: First part: scheme, … Read more

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

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

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

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

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!

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