diff options
Diffstat (limited to 'src/GridText.c')
-rw-r--r-- | src/GridText.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/GridText.c b/src/GridText.c index ee8117fc..8ede1e6c 100644 --- a/src/GridText.c +++ b/src/GridText.c @@ -6878,6 +6878,18 @@ const char *HText_getServer(void) HTAnchor_server(HTMainText->node_anchor) : 0); } +#ifdef EXP_HTTP_HEADERS +/* + * Returns the full text of HTTP headers, if available, for the current + * document. + */ +const char *HText_getHttpHeaders(void) +{ + return (HTMainText ? + HTAnchor_http_headers(HTMainText->node_anchor) : 0); +} +#endif + /* * HText_pageDisplay displays a screen of text * starting from the line 'line_num'-1. |