Dolda2000 GitWeb
/
ashd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
ee4d813
)
doc: Mention request-body chunking in ashd(7).
author
Fredrik Tolf
<fredrik@dolda2000.com>
Fri, 28 Dec 2012 15:51:53 +0000
(16:51 +0100)
committer
Fredrik Tolf
<fredrik@dolda2000.com>
Fri, 28 Dec 2012 15:53:21 +0000
(16:53 +0100)
doc/ashd.doc
patch
|
blob
|
blame
|
history
diff --git
a/doc/ashd.doc
b/doc/ashd.doc
index
144abfe
..
92416a7
100644
(file)
--- a/
doc/ashd.doc
+++ b/
doc/ashd.doc
@@
-110,9
+110,10
@@
variable called `HTTP_VERSION`. It is passed in full; i.e. as
The response socket, as mentioned above, is also used for reading the
request-body if the client provides one. For such purposes,
*htparser*(1) ensures that the reader sees end-of-file at the end of
The response socket, as mentioned above, is also used for reading the
request-body if the client provides one. For such purposes,
*htparser*(1) ensures that the reader sees end-of-file at the end of
-the request-body, so that the reader (unlike in, for example, CGI)
-does not have to worry about the Content-Length header and counting
-bytes when reading.
+the request-body, allowing the reader (unlike in, for example, CGI) to
+not have to worry about the Content-Length header and counting bytes
+when reading, and also to handle chunked request-bodies in a natural
+fashion.
To respond, the handler program needs to write an ordinary HTTP
response to the response socket. That is, one line containing the HTTP
To respond, the handler program needs to write an ordinary HTTP
response to the response socket. That is, one line containing the HTTP