Commit 48296bb1 authored by Evelyn's avatar Evelyn Committed by GitHub

Update mg_get_http_header.md

parent 1ee97353
......@@ -6,7 +6,7 @@ signature: |
struct mg_str *mg_get_http_header(struct http_message *hm, const char *name);
---
Search and return header `name` in parsed HTTP message `hm`.
Searches and returns the header `name` in parsed HTTP message `hm`.
If header is not found, NULL is returned. Example:
struct mg_str *host_hdr = mg_get_http_header(hm, "Host");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment