Closed Bug 670630 Opened 13 years ago Closed 13 years ago

implement support for HEAD /__heartbeat__

Categories

(Cloud Services :: Server: Core, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: Atoll, Assigned: tarek)

References

Details

(Whiteboard: [qa?])

Attachments

(1 file)

When [global] heartbeat_page = __heartbeat__, the application permits GET /__heartbeat__, returning a 200 or 503 depending.

Please add support for HEAD /__heartbeat__ as well.  For instance, "curl -I http://localhost/__heartbeat__" returns an error, but (probably) should not.

[11/Jul/2011:04:04:18 -0700] "GET /__heartbeat__ HTTP/1.0" 200
[11/Jul/2011:04:04:20 -0700] "HEAD /__heartbeat__ HTTP/1.1" 400
Assignee: nobody → tarek
Status: NEW → ASSIGNED
Attachment #548712 - Flags: review?(rmiller)
Attachment #548712 - Flags: feedback?(rsoderberg)
Comment on attachment 548712 [details] [diff] [review]
Allow HEAD call on __heartbeat__

Review of attachment 548712 [details] [diff] [review]:
-----------------------------------------------------------------
Attachment #548712 - Flags: review?(rmiller) → review+
http://hg.mozilla.org/services/server-core/rev/ee03240627cd
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Blocks: 676423
Attachment #548712 - Flags: feedback?(rsoderberg)
Whiteboard: [qa?]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: