From 915f37b5ad202dfeb51999faba5a2849318ebea2 Mon Sep 17 00:00:00 2001 From: Aleksey Veresov Date: Mon, 13 Jul 2020 08:44:49 +0300 Subject: Unnecessary headers removed. --- examples/cookie.c | 1 + examples/echo.c | 1 + include/magi/response.h | 2 -- include/magi/urlenc.h | 4 ++-- man/magi_urlenc.3 | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/examples/cookie.c b/examples/cookie.c index 7cb5f33..7253185 100644 --- a/examples/cookie.c +++ b/examples/cookie.c @@ -3,6 +3,7 @@ * showing work with headers in magi. */ #include +#include void list_cookies(magi_request *r) diff --git a/examples/echo.c b/examples/echo.c index 4f6975a..3598986 100644 --- a/examples/echo.c +++ b/examples/echo.c @@ -1,6 +1,7 @@ /* This is useful example echoing request data in response. */ #include +#include void list_cookies(magi_request *r) diff --git a/include/magi/response.h b/include/magi/response.h index 4867c2f..c38e3f9 100644 --- a/include/magi/response.h +++ b/include/magi/response.h @@ -9,8 +9,6 @@ */ #include "cookie.h" #include "param.h" -#include -#include /* Response headers as three sequential groups. */ diff --git a/include/magi/urlenc.h b/include/magi/urlenc.h index 16310f2..d3f2ae6 100644 --- a/include/magi/urlenc.h +++ b/include/magi/urlenc.h @@ -6,8 +6,8 @@ * encoding itself and magi_urlenc_size to find what the size of code * will be. * - * RFC 3986 describes URL-encoding. Briefly it is changing every space into - * plus sign and every not alpha-numerical and not "~-._" character into + * RFC 3986 describes URL-encoding. Briefly it is replacement of every space + * into plus sign and every not alpha-numerical and not "~-._" character into * percent sign followed by hexadecimal representation of given character. */ diff --git a/man/magi_urlenc.3 b/man/magi_urlenc.3 index ac0c798..ed919eb 100644 --- a/man/magi_urlenc.3 +++ b/man/magi_urlenc.3 @@ -19,7 +19,7 @@ for encoding itself. .P URL encoding is described in .IR "RFC 3986" . -Briefly it is changing every space into plus sign and every not +Briefly it is replacement of every space into plus sign and every not alpha-numerical or not one of "~-._" character into percent sign followed by hexademical representation of given character byte. .P -- cgit v1.2.3