mirror of
https://github.com/caddyserver/caddy.git
synced 2024-12-29 15:13:49 +03:00
6cea1f239d
* push: Implement HTTP/2 server push (close #3551) * push: Abstract header ops by embedding into new struct type This will allow us to add more fields to customize headers in push-specific ways in the future. * push: Ensure Link resources are pushed before response is written * Change header name from X-Caddy-Push to Caddy-Push
19 lines
968 B
Go
19 lines
968 B
Go
package standard
|
|
|
|
import (
|
|
// standard Caddy HTTP app modules
|
|
_ "github.com/caddyserver/caddy/v2/modules/caddyhttp"
|
|
_ "github.com/caddyserver/caddy/v2/modules/caddyhttp/caddyauth"
|
|
_ "github.com/caddyserver/caddy/v2/modules/caddyhttp/encode"
|
|
_ "github.com/caddyserver/caddy/v2/modules/caddyhttp/encode/gzip"
|
|
_ "github.com/caddyserver/caddy/v2/modules/caddyhttp/encode/zstd"
|
|
_ "github.com/caddyserver/caddy/v2/modules/caddyhttp/fileserver"
|
|
_ "github.com/caddyserver/caddy/v2/modules/caddyhttp/headers"
|
|
_ "github.com/caddyserver/caddy/v2/modules/caddyhttp/map"
|
|
_ "github.com/caddyserver/caddy/v2/modules/caddyhttp/push"
|
|
_ "github.com/caddyserver/caddy/v2/modules/caddyhttp/requestbody"
|
|
_ "github.com/caddyserver/caddy/v2/modules/caddyhttp/reverseproxy"
|
|
_ "github.com/caddyserver/caddy/v2/modules/caddyhttp/reverseproxy/fastcgi"
|
|
_ "github.com/caddyserver/caddy/v2/modules/caddyhttp/rewrite"
|
|
_ "github.com/caddyserver/caddy/v2/modules/caddyhttp/templates"
|
|
)
|