Tag: HTTP
12 posts
-
REST at the Protocol Level: Method Semantics, Idempotency, HATEOAS, Content Negotiation and Versioning
REST on HTTP: method semantics, idempotency, Richardson maturity, HATEOAS, negotiation, API versioning, and production patterns—internals-focused.
-
Go context: Timeouts, Cancellation, and Why Goroutines Keep Running
How context.WithTimeout, WithCancel and WithDeadline really behave in Go: nested deadlines, cancel causes, HTTP client and server wiring, and leak traps.
-
CORS in Express: Allowed Origins, Credentials, Preflight Requests and Dynamic Origins
Configuring CORS in Node.js and Express: why browsers block requests, allowing specific or dynamic origins, cookies and credentials, preflight requests, and per-route settings.
-
WebSocket vs SSE vs Long Polling
WebSocket, SSE or long polling? Node.js examples of each, SSE for AI streaming, reconnect logic, the WebSocket handshake and frames, and scaling concerns.
-
From HTTP/1.1 to HTTP/3: Head-of-Line Blocking, Multiplexing, QUIC, WebSocket and SSE
How HTTP evolved from HTTP/1.1 to HTTP/2 multiplexing and HTTP/3 over QUIC, and when WebSocket or Server-Sent Events fit better for real-time updates.
-
Axios in Practice: Instances, Interceptors, Error Handling and Cancellation
Using Axios for HTTP requests in JavaScript and Node.js: instances, request configuration, response shape, error handling, interceptors, cancellation, and concurrent requests.
-
Python REST APIs | Build API Servers with Flask and Django
Design RESTful APIs in Python: HTTP verbs, resource URLs, Flask CRUD examples, Django REST Framework, JWT auth, error handling, and production-minded tips.
-
HTTP in Practice: Methods, Status Codes, Caching, HTTPS and What HTTP/2 and HTTP/3 Change
HTTP requests and responses, methods and status codes, HTTP/2 multiplexing and HTTP/3 over QUIC, HTTPS, caching, and REST API design—2026 practical guide.
-
An Express-Style REST API Server in C++: Router, Middleware Chain, JWT Auth and Validation
Build Express-style REST API servers in C++: routing with path parameters, middleware chain (logging, CORS, auth), JSON request/response, JWT.
-
Build a Minimal C++ HTTP Framework from Scratch with Asio
Build a small HTTP server in C++ on Boost.Asio: request parsing, routing, middleware chains, async sessions, common failures, and when to use Boost.Beast.
-
Boost.Beast REST Server Mechanics: Parser Limits, Keep-Alive, Timeouts and CORS [#31-2]
A REST server built directly on Boost.Beast: request_parser body and header limits, keep-alive with need_eof, tcp_stream timeouts, routing, JSON and CORS.
-
Parsing HTTP Correctly in C++: Headers, Chunked Encoding and a Boost.Beast Parser
Parse HTTP in C++ without hand-rolled bugs: case-insensitive headers, Content-Length vs chunked bodies, keep-alive, body limits and a Boost.Beast parser.