apex / apex/httplog

Wrapped response does not expose http.Hijacker interface

Open
#1 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
35
Forks
4
PR merge metrics
No merged PRs in 30d

Description

Some of the special interfaces like `http.Hijacker` are not exposed using the wrapped response writer.

It would be great to implement something like https://github.com/gorilla/handlers/blob/941e2d87ae774cb93574f1af30684ed9bfe24271/logging.go to implement interfaces for the wrapper if the original response implemented them.

The current implementation prevents Websocket upgrades, so we need to create our own version of it.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.