respHeaders is a test function to read respHeaders
()
| 870 | |
| 871 | // respHeaders is a test function to read respHeaders |
| 872 | func (w *wsRespWriter) Header() http.Header { |
| 873 | // Removing indeterminstic header because it cannot be asserted. |
| 874 | w.responseHeaders.Del("Date") |
| 875 | return w.responseHeaders |
| 876 | } |
| 877 | |
| 878 | func (w *wsRespWriter) WriteHeader(status int) { |
| 879 | // unused |
no outgoing calls
no test coverage detected