apex / apex/httplog

Wrapped response does not expose http.Hijacker interface

Offen
#1 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Go
Sterne
35
Forks
4
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.