Tag

httpx

1 views collected around this technical thread.

Code Mala Tang
Code Mala Tang
May 13, 2025 · Backend Development

Master FastAPI Testing: Unit & Integration Tests with Pytest & HTTPX

This guide walks you through setting up a FastAPI testing environment, creating a project structure, writing both unit and integration tests using pytest, httpx, and FastAPI's TestClient, and running the tests to ensure reliable, maintainable applications.

backendfastapihttpx
0 likes · 6 min read
Master FastAPI Testing: Unit & Integration Tests with Pytest & HTTPX
Python Programming Learning Circle
Python Programming Learning Circle
Jul 12, 2024 · Backend Development

Understanding Python Coroutines and Asynchronous HTTP Requests with httpx

This article introduces Python coroutines, compares them with multithreading, explains when to use them, and demonstrates how the httpx library can perform asynchronous HTTP requests to dramatically improve backend performance, including installation steps and a benchmark against synchronous requests.

AsyncCoroutinePython
0 likes · 7 min read
Understanding Python Coroutines and Asynchronous HTTP Requests with httpx
Tencent Architect
Tencent Architect
Feb 28, 2023 · Backend Development

Master HTTP/HTTPS Testing with Python httpx and curl: A Practical Guide

This guide explains how to use Python's httpx library and the curl command‑line tool to perform comprehensive HTTP/HTTPS testing—including basic requests, chunked transfers, HTTP/2, SSL/TLS configuration, and dynamic DNS resolution—complete with code examples and setup instructions.

HTTP2PythonTLS
0 likes · 13 min read
Master HTTP/HTTPS Testing with Python httpx and curl: A Practical Guide
Python Programming Learning Circle
Python Programming Learning Circle
Feb 14, 2023 · Backend Development

Understanding Python Coroutines and Asynchronous HTTP Requests with httpx

This article explains Python coroutines, compares them with multithreading, outlines their suitable scenarios, and demonstrates how using the httpx library for asynchronous HTTP requests can dramatically improve request performance in backend testing, backed by concrete code examples and benchmark results.

AsyncCoroutinesbackend
0 likes · 7 min read
Understanding Python Coroutines and Asynchronous HTTP Requests with httpx
Python Programming Learning Circle
Python Programming Learning Circle
Jun 26, 2021 · Backend Development

Understanding Python Coroutines and Asynchronous HTTP Requests with httpx

This article explains the concept of Python coroutines, compares them with multithreading, outlines suitable and unsuitable scenarios, introduces the httpx library for asynchronous HTTP calls, and demonstrates performance gains through synchronous and asynchronous code examples.

AsyncCoroutinebackend
0 likes · 7 min read
Understanding Python Coroutines and Asynchronous HTTP Requests with httpx