summaryrefslogtreecommitdiff
path: root/service/http/service.go
diff options
context:
space:
mode:
Diffstat (limited to 'service/http/service.go')
-rw-r--r--service/http/service.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/service/http/service.go b/service/http/service.go
index cef019b3..460175b9 100644
--- a/service/http/service.go
+++ b/service/http/service.go
@@ -113,6 +113,7 @@ func (s *Service) Stop() {
// middleware handles connection using set of mdws and rr PSR-7 server.
func (s *Service) ServeHTTP(w http.ResponseWriter, r *http.Request) {
+ r = InitAttributes(r)
for _, m := range s.mdws {
if m(w, r) {
return