diff --git a/website/api.html b/website/api.html index bd89007a2e..f22c3aeccb 100644 --- a/website/api.html +++ b/website/api.html @@ -664,7 +664,24 @@ server.listen(7000, "localhost");
req.uri
GET /status?name=ryan HTTP/1.1\r\n +Accept: */*\r\n +\r\n ++ Then
req.uri
will be
++{ path: "/status", + file: "status", + directory: "/", + params: { "name" : "ryan" } +}+ In particular, note that
req.uri.protocol
is
+ undefined
. This is because there was no URI protocol given
+ in the actual HTTP Request.
+ req.uri.anchor
req.uri.query
req.uri.file
req.uri.authority
req.uri.protocol
req.uri.params
req.uri.toString()
,
- req.uri.source
- req.uri.toString()
, req.uri.source
req.headers