From 23d17061e67d4361e23591ae3a3192f7853d6095 Mon Sep 17 00:00:00 2001 From: some Date: Tue, 8 Oct 2024 22:50:07 -0400 Subject: [PATCH] Fix DefaultResponse Response method --- default.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/default.go b/default.go index 8ab4c3e..7d7dce4 100644 --- a/default.go +++ b/default.go @@ -206,7 +206,7 @@ func NewDefaultResponse(r Response, h *Header, hf header, b *Body, bf body) Defa } func (r DefaultResponse) Response() Response { - return &r + return r.response } func (r *DefaultResponse) Header() (header Header) {