commit 88d10158d9df1a92e83ffe3200006853221865b7
parent 22e3613826a28f046f3e48639956c7721e7c8de0
Author: Sebastian Gerhardt <sebgerhardt@gmx.net>
Date: Sat, 1 Nov 2008 08:18:13 +0000
Upgraded & tested tutorial for version 0.4 prerelease0
Diffstat:
10 files changed, 12 insertions(+), 28 deletions(-)
diff --git a/doc/chapters/basicauthentication.inc b/doc/chapters/basicauthentication.inc
@@ -12,7 +12,7 @@ GET /picture.png?mypassword
@end verbatim
@noindent
-In a situation, where the client is customized enough and the connection occurs
+In a situation where the client is customized enough and the connection occurs
through secured lines (e.g., a embedded device directly attached to another via wire),
this can be a reasonable choice.
diff --git a/doc/chapters/hellobrowser.inc b/doc/chapters/hellobrowser.inc
@@ -9,15 +9,15 @@ The C program @code{hellobrowser.c}, which is to be found in the examples sectio
If you are very eager, you can compile and start it right away but it is advisable to type the
lines in by yourself as they will be discussed and explained in detail.
-After the unexciting includes and the definition of the port which our server should listen on
+After the necessary includes and the definition of the port which our server should listen on
@verbatim
+#include <platform.h>
#include <microhttpd.h>
-#include <string.h>
-#include <stdlib.h>
-#include <stdio.h>
+
+#define PORT 8888
@end verbatim
@noindent
-the desired behaviour of our server when HTTP request arrive have to be implemented. We already have
+the desired behaviour of our server when HTTP request arrive has to be implemented. We already have
agreed that it should not care about the particular details of the request, such as who is requesting
what. The server will respond merely with the same small HTML page to every request.
diff --git a/doc/chapters/largerpost.inc b/doc/chapters/largerpost.inc
@@ -1,6 +1,3 @@
---- NOTE: This does not work flawlessly with the beta release because there is
-a bug preventing early busy messages from being sent ---
-
The previous chapter introduced a way to upload data to the server, but the developed example program
has some shortcomings, such as not being able to handle larger chunks of data. In this chapter, we
are going to discuss a more advanced server program that allows clients to upload a file in order to
diff --git a/doc/examples/basicauthentication.c b/doc/examples/basicauthentication.c
@@ -1,7 +1,5 @@
+#include <platform.h>
#include <microhttpd.h>
-#include <string.h>
-#include <stdio.h>
-#include <stdlib.h>
#include <time.h>
#define PORT 8888
diff --git a/doc/examples/hellobrowser.c b/doc/examples/hellobrowser.c
@@ -1,7 +1,5 @@
+#include <platform.h>
#include <microhttpd.h>
-#include <string.h>
-#include <stdlib.h>
-#include <stdio.h>
#define PORT 8888
diff --git a/doc/examples/largepost.c b/doc/examples/largepost.c
@@ -1,8 +1,5 @@
#include <platform.h>
#include <microhttpd.h>
-#include <string.h>
-#include <stdlib.h>
-#include <stdio.h>
#define PORT 8888
#define POSTBUFFERSIZE 512
diff --git a/doc/examples/logging.c b/doc/examples/logging.c
@@ -1,7 +1,5 @@
+#include <platform.h>
#include <microhttpd.h>
-#include <string.h>
-#include <stdlib.h>
-#include <stdio.h>
#define PORT 8888
diff --git a/doc/examples/responseheaders.c b/doc/examples/responseheaders.c
@@ -1,7 +1,5 @@
+#include <platform.h>
#include <microhttpd.h>
-#include <string.h>
-#include <stdio.h>
-#include <stdlib.h>
#include <time.h>
#define PORT 8888
diff --git a/doc/examples/simplepost.c b/doc/examples/simplepost.c
@@ -1,7 +1,5 @@
+#include <platform.h>
#include <microhttpd.h>
-#include <string.h>
-#include <stdlib.h>
-#include <stdio.h>
#define PORT 8888
#define POSTBUFFERSIZE 512
diff --git a/doc/tutorial.texi b/doc/tutorial.texi
@@ -4,7 +4,7 @@
@settitle A tutorial for GNU libmicrohttpd
@afourpaper
-@set VERSION 0.3.1 beta
+@set VERSION 0.4.0 prerelease0
@titlepage
@title A Tutorial for GNU libmicrohttpd