apex / apex/httplog

Wrapped response does not expose http.Hijacker interface

オープン
#1 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Go
スター
35
フォーク
4
PR マージ指標
30日以内にマージされた PR はありません

説明

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.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。