RFC 2616 says that header fields are not case-sensitive. Unfortunately, weechat is treating them case-sensitive. This is causing web servers like Caddy to fail making WebSocket connections to weechat. Rather than break spec/convention in Caddy (and create more code and complexity to maintain), I'd rather like to see weechat treat header fields case-insensitively.
Thank you!!
Thanks a lot for your quick work here @flashcode!
You're welcome, I hope the fix is working fine (if not please ping me quickly so I can fix before the next release).
@flashcode Had some issues getting it to build but that's all sorted now and I can confirm that the fix is working for me with a vanilla version of Caddy. Thanks a lot.
Most helpful comment
@flashcode Had some issues getting it to build but that's all sorted now and I can confirm that the fix is working for me with a vanilla version of Caddy. Thanks a lot.