rename headers
This commit is contained in:
parent
8999154f76
commit
b31d48a797
1 changed files with 5 additions and 6 deletions
|
@ -7,17 +7,16 @@ import (
|
||||||
"net/http"
|
"net/http"
|
||||||
"net/url"
|
"net/url"
|
||||||
|
|
||||||
|
|
||||||
"github.com/google/uuid"
|
"github.com/google/uuid"
|
||||||
log "github.com/sirupsen/logrus"
|
log "github.com/sirupsen/logrus"
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
URIHeaderName = "X-Crowdsec-Waf-Uri"
|
URIHeaderName = "X-Crowdsec-Waap-Uri"
|
||||||
VerbHeaderName = "X-Crowdsec-Waf-Verb"
|
VerbHeaderName = "X-Crowdsec-Waap-Verb"
|
||||||
HostHeaderName = "X-Crowdsec-Waf-Host"
|
HostHeaderName = "X-Crowdsec-Waap-Host"
|
||||||
IPHeaderName = "X-Crowdsec-Waf-Ip"
|
IPHeaderName = "X-Crowdsec-Waap-Ip"
|
||||||
APIKeyHeaderName = "X-Crowdsec-Waf-Api-Key"
|
APIKeyHeaderName = "X-Crowdsec-Waap-Api-Key"
|
||||||
)
|
)
|
||||||
|
|
||||||
// type ResponseRequest struct {
|
// type ResponseRequest struct {
|
||||||
|
|
Loading…
Reference in a new issue