From 1ee97353540a98b12e5e8fd5e379e084f969d07c Mon Sep 17 00:00:00 2001 From: Evelyn Date: Fri, 22 Jul 2016 16:16:00 +0100 Subject: [PATCH] Update mg_parse_http.md --- docs/c-api/http.h/mg_parse_http.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/c-api/http.h/mg_parse_http.md b/docs/c-api/http.h/mg_parse_http.md index 068ddc16..fdd5c638 100644 --- a/docs/c-api/http.h/mg_parse_http.md +++ b/docs/c-api/http.h/mg_parse_http.md @@ -6,10 +6,10 @@ signature: | int mg_parse_http(const char *s, int n, struct http_message *hm, int is_req); --- -Parse a HTTP message. +Parses a HTTP message. -`is_req` should be set to 1 if parsing request, 0 if reply. +`is_req` should be set to 1 if parsing a request, 0 if reply. -Return number of bytes parsed. If HTTP message is -incomplete, `0` is returned. On parse error, negative number is returned. +Returns the number of bytes parsed. If HTTP message is +incomplete `0` is returned. On parse error, a negative number is returned.