summaryrefslogtreecommitdiff
path: root/service/http/request.go
diff options
context:
space:
mode:
Diffstat (limited to 'service/http/request.go')
-rw-r--r--service/http/request.go3
1 files changed, 2 insertions, 1 deletions
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() {