Skip to content
Myr

docs: include HTTP QUERY method in RouterGroup.Any (#4879)

Landed as 0f09c3a

authored by Little Fedya · committed by the platform · parent ea9fab9 · Browse files · 1 file+1 added−0 removed
This landing

State

Landed as 0f09c3a

By oscabriel

Diff stats

1 file+1 added−0 removed

  • other:+1 added−0 removed

1 file+1 added−0 removed

modified:docs/doc.md+1 added
167 unmodified lines
168```169170Keep in mind:171172- `router.Any` also registers `QUERY` alongside standard HTTP methods. Handlers registered with `Any` should respect QUERY's safe and idempotent semantics when processing that method.173- `QUERY` is not part of the `gin.IRoutes` interface. `*gin.Engine` and `*gin.RouterGroup` expose it directly; if you only hold an `IRoutes` value, assert to `gin.IQueryRoutes` first.174175```go176if q, ok := routes.(gin.IQueryRoutes); ok {
2532 unmodified lines