mirror of
https://github.com/netbirdio/netbird.git
synced 2026-04-18 16:26:38 +00:00
Fix swallowed response codes
This commit is contained in:
@@ -67,6 +67,7 @@ type responseInterceptor struct {
|
|||||||
|
|
||||||
func (w *responseInterceptor) WriteHeader(status int) {
|
func (w *responseInterceptor) WriteHeader(status int) {
|
||||||
w.status = status
|
w.status = status
|
||||||
|
w.ResponseWriter.WriteHeader(status)
|
||||||
}
|
}
|
||||||
|
|
||||||
func (w *responseInterceptor) Write(b []byte) (int, error) {
|
func (w *responseInterceptor) Write(b []byte) (int, error) {
|
||||||
|
|||||||
Reference in New Issue
Block a user