GoLang HTTP Header Case Sensitivity Issues

GoLang HTTP Header Case Sensitivity Issues

Introduction Today, while using the http package in GoLang, I found that the case of the headers I set did not match what I passed in. Standards The HTTP standard states that HTTP headers are case insensitive. GoLang HTTP GoLang normalizes headers when setting them, capitalizing the first letter and the first letter after a … Read more

What are the Differences Between HTTP/1.0 and HTTP/2.0?

What are the Differences Between HTTP/1.0 and HTTP/2.0?

What are the Differences Between HTTP/1.0 and HTTP/2.0? Key Points This analysis focuses on the differences between the two protocols from the perspectives of connection methods, data transmission formats, and header compression. Connection Methods HTTP/1.0 Short Connections: Each request requires a separate TCP connection, which is closed immediately after the request is completed. Head-of-Line Blocking: … Read more

Understanding HTTP/2 and Practical Implementation in Go

Understanding HTTP/2 and Practical Implementation in Go

After understanding the content of the previous article on net/rpc (From net/rpc in Go applications to gRPC), it is now time to delve into HTTP/2, which is the foundation of the gRPC protocol. A Guide to the Principles of HTTP/2 and Practical Implementation in Go This article focuses on theoretical explanations, and the content will … Read more