add support for Content-Encoding header
This commit is contained in:
@ -39,7 +39,8 @@
|
||||
True (get address 0))) f": {(. parsed-request (get "method"))} {(. parsed-request (get "route") (get "path"))}"))
|
||||
|
||||
(setv response (match-request parsed-request))
|
||||
(.sendall client-socket (http.response.send #** response))
|
||||
(print (.get parsed-request "headers"))
|
||||
(.sendall client-socket (http.response.send :request-headers (.get parsed-request "headers") #** response))
|
||||
|
||||
(except [e Exception]
|
||||
(.warn log (format-exc))
|
||||
|
Reference in New Issue
Block a user