diff --git a/vibed/web-server.md b/vibed/web-server.md index 78760cc..b086826 100644 --- a/vibed/web-server.md +++ b/vibed/web-server.md @@ -99,7 +99,7 @@ class WebService // tags by inspecting the request's // headers property. string[] headers; - foreach(key, value; req.headers) { + foreach(key, value; req.headers.byKeyValue()) { headers ~= "