mirror of
https://github.com/ggicci/httpin.git
synced 2024-11-28 08:49:05 +02:00
8 lines
232 B
Go
8 lines
232 B
Go
package httpin
|
|
|
|
// headerValueExtractor implements the "header" executor who extracts values
|
|
// from the HTTP headers.
|
|
func headerValueExtractor(ctx *DirectiveContext) error {
|
|
return extractFromKVS(ctx, ctx.Request.Header, true)
|
|
}
|