Closed
Bug 1068602
Opened 12 years ago
Closed 12 years ago
metrics.js use res instead of req.
Categories
(Hello (Loop) :: Server, defect)
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: alexis+bugs, Assigned: rhubscher)
Details
(Whiteboard: [qa+])
Attachments
(1 external file)
In metrics.js, we have:
> if (res.statusCode === 401) {
> line.authorization = req.headers.authorization;
> line.hawk = req.hawk;
> line.error = res.headers["www-authenticate"];
> }
We should fix that and use "req.headers["www-authenticate"];"
Also, add tests for it in middleware_tests.js.
| Assignee | ||
Comment 1•12 years ago
|
||
Attachment #8490773 -
Flags: review?(alexis+bugs)
Attachment #8490773 -
Flags: feedback?(tarek)
| Assignee | ||
Updated•12 years ago
|
Assignee: nobody → rhubscher
Status: NEW → ASSIGNED
| Reporter | ||
Updated•12 years ago
|
Attachment #8490773 -
Flags: review?(alexis+bugs) → review+
| Assignee | ||
Comment 2•12 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Updated•12 years ago
|
Whiteboard: [qa?]
Updated•12 years ago
|
Whiteboard: [qa?] → [qa+]
Comment 3•12 years ago
|
||
Comment on attachment 8490773 [details] [review]
Link to Github PR — #208
well it was merged so.. :)
Attachment #8490773 -
Flags: feedback?(tarek) → feedback+
You need to log in
before you can comment on or make changes to this bug.
Description
•