read-header returns EOF at end, update (web http) docs
authorAndy Wingo <wingo@pobox.com>
Sun, 2 Jan 2011 17:42:25 +0000 (12:42 -0500)
committerAndy Wingo <wingo@pobox.com>
Fri, 7 Jan 2011 17:18:36 +0000 (09:18 -0800)
commit929ccf48fc4bada585b29b3887f295bfcc1dcdaa
tree815c79f34d4c3f9021f9a0e34c6b83965464460a
parent569269b4b23f48c0490bea5538207970598b10dd
read-header returns EOF at end, update (web http) docs

* doc/ref/web.texi (HTTP): Add an example for declaring a header, and
  adapt to read-header change.

* module/web/http.scm (read-header): Return EOF for both values if there
  are no more headers, instead of #f.
  (read-headers): Adapt.
doc/ref/web.texi
module/web/http.scm