Factor out all non-generic implementations #250

Closed
lash wants to merge 29 commits from lash/purify-max into master
2 changed files with 0 additions and 2 deletions
Showing only changes of commit 46bf21b7b8 - Show all commits

View File

@ -13,7 +13,6 @@ var (
logg = logging.NewVanilla().WithDomain("visedriver.http.session") logg = logging.NewVanilla().WithDomain("visedriver.http.session")
) )
// HTTPSessionHandler implements the session handler for HTTP // HTTPSessionHandler implements the session handler for HTTP
type HTTPSessionHandler struct { type HTTPSessionHandler struct {
request.RequestHandler request.RequestHandler

View File

@ -102,7 +102,6 @@ func TestSessionHandler_ServeHTTP(t *testing.T) {
sessionHandler := &HTTPSessionHandler{ sessionHandler := &HTTPSessionHandler{
RequestHandler: mockRequestHandler, RequestHandler: mockRequestHandler,
} }
//sessionHandler := request.ToSessionHandler(mockRequestHandler)
req := httptest.NewRequest(http.MethodPost, "/", bytes.NewBuffer(tt.input)) req := httptest.NewRequest(http.MethodPost, "/", bytes.NewBuffer(tt.input))
req.Header.Set("X-Vise-Session", tt.sessionID) req.Header.Set("X-Vise-Session", tt.sessionID)