Rehabilitate all tets

This commit is contained in:
lash
2025-01-05 09:54:19 +00:00
parent f0a4a0df61
commit 437f73827d
3 changed files with 9 additions and 8 deletions

View File

@@ -2,7 +2,6 @@ package request
import (
"context"
"fmt"
"io"
"net/http"
"strconv"
@@ -59,10 +58,6 @@ func (f *SessionHandler) WriteError(w http.ResponseWriter, code int, err error)
}
}
func (f *SessionHandler) ServeHTTP(w http.ResponseWriter, req *http.Request) {
f.WriteError(w, 500, fmt.Errorf("not implemented"))
}
func ToSessionHandler(h RequestHandler) *SessionHandler {
return &SessionHandler{
RequestHandler: h,