aboutsummaryrefslogtreecommitdiff
path: root/doc/chapters/responseheaders.inc
diff options
context:
space:
mode:
authorsilvioprog <silvioprog@gmail.com>2020-03-31 15:08:34 -0300
committersilvioprog <silvioprog@gmail.com>2020-03-31 15:08:34 -0300
commitbcffdf809fabc09ff8f0a6ef6af601062191a2b4 (patch)
tree771d4408c8daa05136c722cd4729549862271ac7 /doc/chapters/responseheaders.inc
parent6702e6202368720d7a381669c03eedc318f225ca (diff)
downloadlibmicrohttpd-bcffdf809fabc09ff8f0a6ef6af601062191a2b4.tar.gz
libmicrohttpd-bcffdf809fabc09ff8f0a6ef6af601062191a2b4.zip
Applied several spelling fixes. (#6142)
Diffstat (limited to 'doc/chapters/responseheaders.inc')
-rw-r--r--doc/chapters/responseheaders.inc6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/chapters/responseheaders.inc b/doc/chapters/responseheaders.inc
index ece7ce1c..0b1c67e2 100644
--- a/doc/chapters/responseheaders.inc
+++ b/doc/chapters/responseheaders.inc
@@ -60,7 +60,7 @@ server side and if so, the client should be informed with @code{MHD_HTTP_INTERNA
60 /* error accessing file */ 60 /* error accessing file */
61 if (fd != -1) close (fd); 61 if (fd != -1) close (fd);
62 const char *errorstr = 62 const char *errorstr =
63 "<html><body>An internal server error has occured!\ 63 "<html><body>An internal server error has occurred!\
64 </body></html>"; 64 </body></html>";
65 response = 65 response =
66 MHD_create_response_from_buffer (strlen (errorstr), 66 MHD_create_response_from_buffer (strlen (errorstr),
@@ -79,7 +79,7 @@ server side and if so, the client should be informed with @code{MHD_HTTP_INTERNA
79 return MHD_NO; 79 return MHD_NO;
80 if (!ret) 80 if (!ret)
81 { 81 {
82 const char *errorstr = "<html><body>An internal server error has occured!\ 82 const char *errorstr = "<html><body>An internal server error has occurred!\
83 </body></html>"; 83 </body></html>";
84 84
85 if (buffer) free(buffer); 85 if (buffer) free(buffer);
@@ -120,7 +120,7 @@ But in the case of success a response will be constructed directly from the file
120@end verbatim 120@end verbatim
121@noindent 121@noindent
122 122
123Note that the response object will take care of closing the file desciptor for us. 123Note that the response object will take care of closing the file descriptor for us.
124 124
125Up to this point, there was little new. The actual novelty is that we enhance the header with the 125Up to this point, there was little new. The actual novelty is that we enhance the header with the
126meta data about the content. Aware of the field's name we want to add, it is as easy as that: 126meta data about the content. Aware of the field's name we want to add, it is as easy as that: