Tagged articles
httpx
11 articles · Page 1 of 1
The author tests Graphify, an open-source tool that builds code knowledge graphs for AI coding agents, on the httpx repository, demonstrating 2-second graph builds, 95% token reduction for navigation queries, and practical limitations like name ambiguity between code and documentation.
AI coding agentsTree-Sittercode-navigation
0 likes · 8 min read

The article walks through seven progressive Python code examples—from a robust GET request with timeout to async httpx calls and ORM‑based database assertions—showing how to transform naïve request scripts into maintainable, fault‑tolerant API automation projects.
API TestingPythonSQLAlchemy
0 likes · 9 min read

Learn how to create a modular Python API testing framework using httpx, pytest, and Allure, featuring multi‑environment configuration, synchronous and asynchronous requests, data‑driven and mock testing, comprehensive logging, and automated report generation, plus optional extensions for CI/CD, token authentication, and coverage analysis.
API TestingAllureasync
0 likes · 10 min read

This article compares the popular Python HTTP client libraries requests and httpx, outlining their core features, ideal usage scenarios, code examples for synchronous and asynchronous requests, installation steps, and a final recommendation to help developers choose the right tool for API testing.
API TestingHTTPasynchronous
0 likes · 4 min read

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

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.
asynccoroutinehttpx
0 likes · 7 min read

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.
PythonTLScurl
0 likes · 13 min read

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.
CoroutinesPythonhttpx
0 likes · 7 min read

This article explains what coroutines are, compares them with threads, outlines when to use them, introduces the async‑capable httpx library, shows installation and sample code, and demonstrates a performance test where asynchronous requests cut execution time by about 73% compared to synchronous requests.
BackendPythonasyncio
0 likes · 7 min read

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.
BackendPythonasync
0 likes · 7 min read

This guide walks you through using the Python httpx library to perform various HTTP methods—including GET, POST, PUT, DELETE, HEAD, and OPTIONS—handle query parameters, decode responses, work with JSON, custom headers, form data, file uploads, streaming, cookies, redirects, and authentication, all with clear code examples.
APIAuthenticationHTTP
0 likes · 10 min read
