mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-10 16:54:16 +07:00
It would be probably good idea to also remove tools/docgen.py and asciidoc.mk, but asciidoc.mk is still mentioned under `cloud/doc`, which may contain some useful info which we'll need at least to review before removing. PUBLISHED_FROM=faf454d4c52a2f07ea8ac084cf0bd11a0c9c9b3b
14 lines
361 B
Markdown
14 lines
361 B
Markdown
---
|
|
title: "mg_get_http_header()"
|
|
decl_name: "mg_get_http_header"
|
|
symbol_kind: "func"
|
|
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`.
|
|
If header is not found, NULL is returned. Example:
|
|
|
|
struct mg_str *host_hdr = mg_get_http_header(hm, "Host");
|
|
|