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

Smooth Upgrades for HTTP Services in Go: Signal Handling Mechanism | Zero Downtime Deployment

Click the “blue text” above to follow us Late at night, the production environment needs code updates, but we cannot affect user experience? Every backend developer has likely faced this situation. I remember when I first encountered this problem, the whole team was confused. Restart the service? Users would be furious. Not updating? Bugs won’t … Read more

Mastering PHP HTTP GET Requests and Header Information for Easy Data Transmission and Status Control

Introduction HTTP GET requests are one of the most common request methods in web development, used to send data to the server to retrieve resources. Meanwhile, header information plays a crucial role in HTTP requests, helping us control the state and format of data transmission. This article will detail how to send HTTP GET requests … Read more

RFC 9725 – WebRTC HTTP Ingestion Protocol (WHIP) Officially Becomes an RFC Standard

The WebRTC HTTP Ingestion Protocol (WHIP) has officially become an RFC standard! This marks an important milestone based on WebRTC broadcasting technology. The WebRTC-HTTP Ingestion Protocol (WHIP) is the latest formal specification regarding WebRTC, which means that the HTTP protocol related to WebRTC has finally become a standard. Below is a summary of the core … Read more

Securing HTTP-Based APIs

This guide provides recommendations for securing HTTP-based APIs. It is aimed at technical personnel responsible for designing or building applications that provide HTTP APIs. Please note that you should perform threat modeling specific to your design to fully secure HTTP-based APIs. What is an HTTP-Based API? An HTTP-based API enables communication between different software systems … Read more

Apache HttpClient: The Messenger of Network Requests!

Brother Niu’s Java Kitchen: Apache HttpClient, The Messenger of Network Requests! Today, let’s talk about an interesting and practical tool – Apache HttpClient! This tool is like the “SF Express” of network requests, helping us deliver information far and wide, and even receive the recipient’s “delivery receipt” (response result). As a programmer who transitioned from … Read more

HTTP Response Compression in Go: Implementing Gzip Middleware with Adaptive Compression Strategy

Click the “blue text” above to follow us Yesterday, a novice asked me: “Brother Feng, why does our Go service always run out of network bandwidth during peak times?” I smiled and said, isn’t this the classic “naked running” problem? Your HTTP response isn’t wearing a “compression coat”, and the data is like a fat … Read more

High-Performance HTTP Client with asyncio and aiohttp: Implementing Asynchronous Requests

▼ Click the card below to follow me ▲ Click the card above to follow me High-Performance HTTP Client with asyncio and aiohttp: Implementing Asynchronous Requests Recently, I’ve been enjoying asynchronous programming, and today I want to share something interesting – using asyncio and aiohttp to implement asynchronous HTTP requests. In simple terms, it allows … Read more

HTTP Connection Management in Go: Strategies for Long and Short Connections | Keep-Alive Optimization

Click the “blue text” above to follow us Have you ever encountered a situation where the server inexplicably cannot handle the traffic? Despite having sufficient configuration, it keeps dropping connections. After checking for a long time, you find that the issue lies in HTTP connection handling. Think about it, HTTP connections are like tables in … Read more

A Concise Explanation of HTTP/1, HTTP/2, and HTTP/3

Better understand how each version of HTTP works. In the early 1990s, Tim Berners-Lee and his team at CERN worked together to define four fundamental components of the internet: Hypertext document format (HTML) Data transfer protocol (HTTP) A web browser for viewing hypertext (the first browser, WorldWideWeb) A server for transmitting data (an early version … Read more