Skip to content

Commit 862f480

Browse files
committed
Add http version and url property to response
1 parent 1ffc718 commit 862f480

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎index.js‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,13 +80,15 @@ app.all('/{*splat}', (req, res) => {
8080
path: req.path,
8181
headers: req.headers,
8282
method: req.method,
83+
url: req.url,
8384
body: req.body,
8485
cookies: req.cookies,
8586
fresh: req.fresh,
8687
hostname: req.hostname,
8788
ip: req.ip,
8889
ips: req.ips,
8990
protocol: req.protocol,
91+
httpVersion: req.httpVersion,
9092
query: req.query,
9193
signedCookies: req.signedCookies,
9294
subdomains: req.subdomains,

0 commit comments

Comments
 (0)