@@ -141,32 +141,32 @@ let show_http_version = function
141141 | `Http_1_1 -> " HTTP/1.1"
142142
143143let show_status_code : status_code -> string = function
144- | `Ok -> sprintf " 200 OK"
145- | `Created -> sprintf " 201 Created"
146- | `Accepted -> sprintf " 202 Accepted"
147- | `No_content -> sprintf " 204 No Content"
148-
149- | `Moved -> sprintf " 301 Moved Permanently"
150- | `Found -> sprintf " 302 Found"
151-
152- | `Bad_request -> sprintf " 400 Bad Request"
153- | `Unauthorized -> sprintf " 401 Unauthorized"
154- | `Payment_required -> sprintf " 402 Payment Required"
155- | `Forbidden -> sprintf " 403 Forbidden"
156- | `Not_found -> sprintf " 404 Not Found"
157- | `Method_not_allowed -> sprintf " 405 Method Not Allowed"
158- | `Not_acceptable -> sprintf " 406 Not Acceptable"
159- | `Conflict -> sprintf " 409 Conflict"
160- | `Length_required -> sprintf " 411 Length Required"
161- | `Request_too_large -> sprintf " 413 Request Entity Too Large"
162- | `I'm_a_teapot -> sprintf " 418 I'm a teapot"
163- | `Unprocessable_content -> sprintf " 422 Unprocessable Content"
164- | `Too_many_requests -> sprintf " 429 Too Many Requests"
165-
166- | `Internal_server_error -> sprintf " 500 Internal Server Error"
167- | `Not_implemented -> sprintf " 501 Not Implemented"
168- | `Service_unavailable -> sprintf " 503 Service Unavailable"
169- | `Version_not_supported -> sprintf " 505 HTTP Version Not Supported"
144+ | `Ok -> " 200 OK"
145+ | `Created -> " 201 Created"
146+ | `Accepted -> " 202 Accepted"
147+ | `No_content -> " 204 No Content"
148+
149+ | `Moved -> " 301 Moved Permanently"
150+ | `Found -> " 302 Found"
151+
152+ | `Bad_request -> " 400 Bad Request"
153+ | `Unauthorized -> " 401 Unauthorized"
154+ | `Payment_required -> " 402 Payment Required"
155+ | `Forbidden -> " 403 Forbidden"
156+ | `Not_found -> " 404 Not Found"
157+ | `Method_not_allowed -> " 405 Method Not Allowed"
158+ | `Not_acceptable -> " 406 Not Acceptable"
159+ | `Conflict -> " 409 Conflict"
160+ | `Length_required -> " 411 Length Required"
161+ | `Request_too_large -> " 413 Request Entity Too Large"
162+ | `I'm_a_teapot -> " 418 I'm a teapot"
163+ | `Unprocessable_content -> " 422 Unprocessable Content"
164+ | `Too_many_requests -> " 429 Too Many Requests"
165+
166+ | `Internal_server_error -> " 500 Internal Server Error"
167+ | `Not_implemented -> " 501 Not Implemented"
168+ | `Service_unavailable -> " 503 Service Unavailable"
169+ | `Version_not_supported -> " 505 HTTP Version Not Supported"
170170
171171let show_http_reply : version:[ `Http_1_0 | `Http_1_1 ] -> reply_status -> string =
172172 fun ~version reply_status ->
0 commit comments