Skip to content
This repository has been archived by the owner on Mar 9, 2022. It is now read-only.

Commit

Permalink
Merge pull request #78 from oplehto/http_listener_204
Browse files Browse the repository at this point in the history
listener: Changed succesful HTTP response code from 200 to 204
  • Loading branch information
mjs authored May 15, 2018
2 parents 693993a + bccbcc0 commit 5c8fc8a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions listener/listener.go
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,7 @@ func (l *Listener) setupHTTP() *http.Server {
l.processRead()
l.mu.Unlock()
}
w.WriteHeader(http.StatusNoContent)
})
return &http.Server{
Addr: fmt.Sprintf(":%d", l.c.Port),
Expand Down

0 comments on commit 5c8fc8a

Please sign in to comment.