()
| 36 | } |
| 37 | |
| 38 | func (o *orderedWriter) Flush() { |
| 39 | o.events = append(o.events, "flush:node="+o.Header().Get(NodeHeaderName)) |
| 40 | if f, ok := o.ResponseWriter.(http.Flusher); ok { |
| 41 | f.Flush() |
| 42 | } |
| 43 | } |
| 44 | |
| 45 | var _ = Describe("ExposeNodeHeader middleware", func() { |
| 46 | const ( |
no test coverage detected