summaryrefslogtreecommitdiff
path: root/service/http/service.go
diff options
context:
space:
mode:
authorWolfy-J <[email protected]>2018-07-07 19:23:15 -0700
committerWolfy-J <[email protected]>2018-07-07 19:23:15 -0700
commit98f7ce699b559afd74d4e9d607e64b9a8367d762 (patch)
treea1553b7ed55109a1158f92dbf0eae5520754c5f7 /service/http/service.go
parentafde365ba6210569b7d48dec0c07434a7f8a1fd8 (diff)
attributes support
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