From f6982b6de523af2ba1a9102d8a9b59ad50c7cf3b Mon Sep 17 00:00:00 2001 From: some Date: Tue, 8 Oct 2024 22:58:21 -0400 Subject: [PATCH] Remove mandatory non-default method --- default.go | 8 -------- 1 file changed, 8 deletions(-) diff --git a/default.go b/default.go index 7d7dce4..2cda652 100644 --- a/default.go +++ b/default.go @@ -122,10 +122,6 @@ func NewDefaultRequestBuilder(rb RequestBuilder, am *[]string, h *Header, hf hea } } -func (rb DefaultRequestBuilder) RequestBuilder() RequestBuilder { - return rb.requestBuilder -} - func (rb *DefaultRequestBuilder) Allowed(method string) (errRes ErrorResponse) { var ok bool for _, m := range *rb.allowedMethods { @@ -205,10 +201,6 @@ func NewDefaultResponse(r Response, h *Header, hf header, b *Body, bf body) Defa } } -func (r DefaultResponse) Response() Response { - return r.response -} - func (r *DefaultResponse) Header() (header Header) { if r.header.Header == nil { r.header.Header.Parse(r.header.fields)