Httpx: The Future Star of Asynchronous HTTP!

▼ Click the card below to follow me ▲ Click the card above to follow me Httpx: The King of Asynchronous HTTP Libraries! In modern web development, asynchronous programming is becoming the key to enhancing performance. Traditional synchronous HTTP requests are like waiting in line to buy breakfast, where everyone has to wait patiently. Httpx … Read more

Basics of Python Web Scraping – Fundamental Principles of HTTP (Part 2)

HTTP Request Process A complete HTTP request process includes DNS requests and responses, domain name resolution, TCP connection, three-way handshake, server response to the HTTP request, browser parsing and rendering of HTML, and finally, the server closes the TCP connection with a four-way handshake. Step 1: DNS Resolution The local DNS uses recursive queries to … Read more

nghttp2: Implementing HTTP/2 on ESP32 Series SOC Platforms

In application development, HTTP/2 is a highly efficient network protocol that has garnered attention due to its features such as multiplexing and header compression. nghttp2 is an open-source project that provides rich functionality for implementing HTTP/2. As embedded platforms like the ESP32 evolve, applying the features of nghttp2 on these platforms has become a significant … Read more

Requests: An Elegant HTTP Request Library for Python

In today’s internet era, web services are ubiquitous, and the exchange and retrieval of data have become crucial. Whether it’s fetching remote API data, submitting forms, downloading files, or developing web crawlers, dealing with the HTTP protocol is essential. The Python <span>Requests</span> library serves as an elegant HTTP request library for Python, providing developers with … Read more

URL Encoding of Chinese Data in HTTP POST

Background of the Issue When sending form data using HTTP POST, if the data is sent as a string connected by <span>&</span> (i.e., in <span>application/x-www-form-urlencoded</span> format), there often occurs a garbled text issue when the data contains Chinese characters. This is because Chinese characters are non-ASCII characters and need to be properly encoded to be … Read more

Comparative Analysis of HTTP and ZMQ in Quantitative Trading Technology Selection

Below is a comparison of the advantages and disadvantages of HTTP and ZMQ in the selection of quantitative trading technologies: Advantages of HTTP High universality and ease of use: As a widely used network protocol, almost all programming languages provide support for HTTP, allowing developers to easily find various libraries and tools in different languages … Read more

Is Java Http Interface Integration Too Complicated? Try the UniHttp Framework!

Introduction From an enterprise-level project perspective, if you are still using traditional programming-based HTTP clients like HttpClient or OkHttp to directly interface with third-party HTTP APIs, your project is likely filled with a lot of integration logic and code. Each time you need to wrap a call for different integration channels, it can lead to … Read more

smart-mqtt v1.1.1 Arrives on Schedule: Starting from Lightweight, Advancing Towards Security

1. Version Overview This version builds on the plugin design of v1.1.0, introducing a significant License tiered authorization mechanism and TLS/SSL secure communication support, fully meeting the diverse and multi-level usage needs of enterprises. We always adhere to the design philosophy of “lightweight, high performance, and customizable,” maintaining a small package size (still under 4MB) … Read more

Detailed Explanation of MQTT Packets【04】: PINGREQ & PINGRESP Heartbeat Messages

In previous articles, we introduced the following topics in MQTT 5.0:Detailed Explanation of MQTT Packets【01】: CONNECT & CONNACKDetailed Explanation of MQTT Packets【02】: PUBLISH & PUBACKDetailed Explanation of MQTT Packets【03】: SUBSCRIBE & UNSUBSCRIBENow, we will introduce the control packets used to maintain the connection: PINGREQ and PINGRESP. In addition to the control packets for connecting, publishing, … Read more