Reference implementation of Joyent's HTTP Signature Scheme
405
stars
118
forks
source link
Different definition for request-line and (request-target) in signRequest and parseRequest which cause verify failure #135
Open
trend-hailie-chou opened 2 months ago
The definition in signer.signRequest function is:
The definition in parser.parseRequest is:
for reference:
https://expressjs.com/en/api.html#req.path
Contains the path part of the request URL. https://expressjs.com/en/5x/api.html#req.originalUrl
https://nodejs.org/api/http.html#http_message_url