mirror of
https://github.com/caddyserver/website.git
synced 2025-06-15 10:44:44 -04:00
noot
This commit is contained in:
parent
ed5e25ea0d
commit
0d89db0cc5
1 changed files with 1 additions and 1 deletions
|
@ -100,7 +100,7 @@ func (g *Gizmo) Provision(ctx caddy.Context) error {
|
|||
}
|
||||
```
|
||||
|
||||
Here, we extract a replacer out of the `context.Context` inside the `*http.Request`. This replacer not only has access global placeholders, but also http placeholders such as `{http.request.uri}`
|
||||
Here, we extract a replacer out of the `context.Context` inside the `*http.Request`. This replacer not only has access to global placeholders, but also http placeholders such as `{http.request.uri}`
|
||||
|
||||
```go
|
||||
func (g *Gizmo) ServeHTTP(w http.ResponseWriter, r *http.Request, next caddyhttp.Handler) error {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue