Closed Bug 1068602 Opened 12 years ago Closed 12 years ago

metrics.js use res instead of req.

Categories

(Hello (Loop) :: Server, defect)

x86_64
Linux
defect
Not set
normal

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.
Attachment #8490773 - Flags: review?(alexis+bugs)
Attachment #8490773 - Flags: feedback?(tarek)
Assignee: nobody → rhubscher
Status: NEW → ASSIGNED
Attachment #8490773 - Flags: review?(alexis+bugs) → review+
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Whiteboard: [qa?]
Whiteboard: [qa?] → [qa+]
Comment on attachment 8490773 [details] [review] Link to Github PR — #208 well it was merged so.. :)
Attachment #8490773 - Flags: feedback?(tarek) → feedback+
Release 0.12.2 is out in Production.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: