guile-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Support Websocket status code


From: Nala Ginrut
Subject: Support Websocket status code
Date: Fri, 26 Jul 2019 14:06:48 +0800

Hi folks!
The current response builder will reject status code less than 600:
-------------------------------code-------------------------
 ((not (and (non-negative-integer? code) (< code 600)))
  (bad-response "Bad code: ~a" code))
---------------------------------------------------------------

However, Websocket specific status code is larger than 1000.
This breaks Artanis Websocket handler to return 500, so that the client has no way to detect the actual problem.

Is there any plan to support it?
Or maybe someone is just waiting for a patch? ;-)

Best regards.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]