From 3c3a7801100f29c99a5e446646c818bf16ccd5f0 Mon Sep 17 00:00:00 2001 From: Wolfy-J Date: Sun, 8 Jul 2018 10:23:30 -0700 Subject: minor attributes refactoring --- service/http/request.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'service/http/request.go') diff --git a/service/http/request.go b/service/http/request.go index 21566416..912843e9 100644 --- a/service/http/request.go +++ b/service/http/request.go @@ -8,6 +8,7 @@ import ( "net/http" "net/url" "strings" + "github.com/spiral/roadrunner/service/http/attributes" ) const ( @@ -60,7 +61,7 @@ func NewRequest(r *http.Request, cfg *UploadsConfig) (req *Request, err error) { Headers: r.Header, Cookies: make(map[string]string), RawQuery: r.URL.RawQuery, - Attributes: AllAttributes(r), + Attributes: attributes.All(r), } for _, c := range r.Cookies() { -- cgit v1.2.3