summaryrefslogtreecommitdiff
path: root/service/http/request.go
diff options
context:
space:
mode:
authorWolfy-J <[email protected]>2018-07-08 10:23:30 -0700
committerWolfy-J <[email protected]>2018-07-08 10:23:30 -0700
commit3c3a7801100f29c99a5e446646c818bf16ccd5f0 (patch)
tree4d558ae6e799b5e76e8e56b192cf057d47f3527f /service/http/request.go
parent466383c72d921aba728de40b60910741e561c1d1 (diff)
minor attributes refactoring
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() {