The Useful HTTP Client Library OkHttp

The Useful HTTP Client Library OkHttp

OkHttp In Spring Boot development, calling third-party HTTP interfaces is a very common requirement, such as calling microservices or accessing external APIs. Although Spring Boot provides HTTP calling tools like RestTemplate and WebClient, sometimes we may need a lower-level, more flexible, and higher-performance HTTP client library, and OkHttp is a relatively mature solution. Why Choose … Read more

Getting Started with Avalonia Cross-Platform: Part 52 – HttpListener

Getting Started with Avalonia Cross-Platform: Part 52 - HttpListener

In the previous article, we exploredAvalonia Cross-Platform: Part 45 – RestFul, and today I will share how to directly enableHttpListener in the backend and implement a simple configuration page: 1. The frontend is done with HTML + JS + CSS, and for the backend: 2. Return MIME types based on file extensions: 3. Read local … Read more

Gunicorn: A Practical Python Library for WSGI HTTP Servers!

Gunicorn: A Practical Python Library for WSGI HTTP Servers!

▼ Click the card below to follow me ▲ Click the card above to follow me Optimizing web application performance has always been a top priority for programmers. As Python backend developers, we are often on the lookout for tools that can make our applications run faster and more reliably. Today, we will discuss Gunicorn, … Read more

Gunicorn: A Practical Python Library for WSGI HTTP Servers!

Gunicorn: A Practical Python Library for WSGI HTTP Servers!

▼ Click the card below to follow Note me ▲ Click the card above to follow me Gunicorn: The Tool That Launches Your Python Web Applications! When writing web applications, we often encounter a frustrating problem: how to efficiently and stably deploy our Python applications? Today, I want to introduce you to a super powerful … Read more

Gunicorn: A Python Library for WSGI HTTP Server!

Gunicorn: A Python Library for WSGI HTTP Server!

▼ Click the card below to follow me ▲ Click the card above to follow me Gunicorn: Let Your Python Web Applications Soar! In Python web development, there is a powerful tool that can help you easily turn frameworks like Flask and Django into robust production-grade application servers — Gunicorn. It acts like an efficient … Read more

Httpx: The Magic Wand for Asynchronous HTTP Requests in Python!

Httpx: The Magic Wand for Asynchronous HTTP Requests in Python!

▼ Click the card below to follow me ▲ Click the card above to follow me Httpx: The Magic Wand for Asynchronous HTTP Requests in Python! HTTP requests are a routine operation in network programming, but traditional synchronous requests always feel a bit sluggish. Today, we are going to talk about a tool that can … Read more

LuatOS Development: HTTP Example

LuatOS Development: HTTP Example

Read the latest documentation and participate:[Document Error Reporting for Rewards] Activity The latest document content can be found at: https://docs.openluat.com/air724ug/luatos/app/socket/http 1.Overview of HTTP This section provides a brief introduction to HTTP. For more detailed explanations or protocol documents, please refer to relevant websites or documents. 1.1 HTTP Request Methods The HTTP/1.1 protocol defines eight methods … Read more

The Art of Writing HTTP Requests with curl

The Art of Writing HTTP Requests with curl

Introduction curl is a powerful command-line tool for network transfer operations over protocols like HTTP, supporting scripted HTTP requests and providing a rich set of options for users to customize requests and handle responses. Today’s article in the Frontend Morning Reading Course is shared by @Daniel Stenberg and translated by @Piao Piao. The translation starts … Read more

Daphne: A Magical Python Library for HTTP Servers!

Daphne: A Magical Python Library for HTTP Servers!

▼ Click the card below to follow me ▲ Click the card above to follow me Once, asynchronous web servers in Python were a headache. Various complex configurations and obscure concepts made many developers hesitant. But now, Daphne has emerged, turning this “problem” into a “simple task”! What is Daphne? Daphne is not an ordinary … Read more

In-Depth Analysis of the MCP Protocol: Three Steps to Achieve Direct HTTP Client Connection, Disrupting Traditional Development Models

In-Depth Analysis of the MCP Protocol: Three Steps to Achieve Direct HTTP Client Connection, Disrupting Traditional Development Models

This article introduces how to connect a custom HTTP client to the MCP server without the MCP client. MCP is a protocol that enables large language models (LLM) to connect to any endpoint, simplifying the connection between developers and external tools. The article details the architectural components of MCP and provides an implementation process, including … Read more