fasthttp / websocket

WebSocket implementation for fasthttp.
BSD 2-Clause "Simplified" License
528 stars 55 forks source link

Library required case-sensitive "Upgrade" header #43

Closed Ponywka closed 9 months ago

Ponywka commented 9 months ago

This issue be already created in https://github.com/fasthttp/websocket/issues/28 but closed by author.

I use Insomnia for test my API and when I trying to test WS connection I got failed on websocket.FastHTTPIsWebSocketUpgrade(...) image

Insomnia sends Upgrade: websocket header but FastHTTP is waiting for Upgrade: Websocket

Ponywka commented 9 months ago

Update: I forgot I use nginx as gateway server :/ It's all good.