Skip to main content

8 docs tagged with "http"

View all tags

HTTP

How HTTP semantics stay stable while framing, multiplexing and the wire move from HTTP/1.1 to h2 and h3.

HTTP Caching

Freshness, validators and the shared-versus-private split: how Cache-Control directives, Vary and conditional requests decide reuse, and where invalidation fails.

Lifecycle

Go HTTP 服务的生命周期:http.Server 的四个超时、ListenAndServe 与 Serve 的差异、SIGTERM 到 Shutdown 的排空窗口、keep-alive 与在途请求、健康检查、优雅重启的边界,以及 Gin 与 Echo 的启动 API 差异。

Middleware

Gin 与 Echo 的中间件链:Next 与 next 的执行顺序、Abort 与返回 error 的差异,恢复、请求 ID、鉴权、CORS、限流、超时和请求体上限的挂载规则、错序症状,以及中央错误处理、请求 ID 生成顺序、超时限制与 panic 隔离的 goroutine 边界。

Navigation and Network

How an address becomes a document: navigation steps, the History API, back-forward cache, Fetch options, CORS preflight, and the HTTP cache headers that decide reuse.

Routing

Gin 与 Echo 的路由与绑定差异:radix tree 的静态段、参数段与通配符优先级,404 与 405 的默认行为,注册期 panic,路径参数写法,ShouldBind 与 Bind 的失败语义,以及尾斜杠重定向、路由表自检、415/400 状态码、内容协商与 JSON 响应细节。

Routing

The Spring MVC request path, validation and error mapping, then transactions, JPA and the connection pool behind them.

RPC and gRPC

When to model a call as a remote procedure, and how protobuf contracts, deadlines, trailers and streaming stay safe under retry.