mirror of
https://github.com/c-cube/tiny_httpd.git
synced 2025-12-06 11:15:35 -05:00
strip whitespace
This commit is contained in:
parent
d25cadfa27
commit
b3f254446d
1 changed files with 1 additions and 1 deletions
|
|
@ -268,7 +268,7 @@ module Response_code = struct
|
||||||
| n -> "Unknown response code " ^ string_of_int n (* TODO *)
|
| n -> "Unknown response code " ^ string_of_int n (* TODO *)
|
||||||
end
|
end
|
||||||
|
|
||||||
type 'a resp_result = ('a, Response_code.t * string) result
|
type 'a resp_result = ('a, Response_code.t * string) result
|
||||||
let unwrap_resp_result = function
|
let unwrap_resp_result = function
|
||||||
| Ok x -> x
|
| Ok x -> x
|
||||||
| Error (c,s) -> raise (Bad_req (c,s))
|
| Error (c,s) -> raise (Bad_req (c,s))
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue