HomePhabricator

Minor improvements for handling of `/status/` for Aphlict

Description

Minor improvements for handling of /status/ for Aphlict

Summary: We don't need to handle any request data for the /status/ route, so we can simplify this code slightly.

Test Plan:

> curl http://127.0.0.1:22281/status/
{"uptime":2543,"clients.active":0,"clients.total":0,"messages.in":0,"messages.out":0,"log":"/var/log/aphlict.log","version":6}

Reviewers: Blessed Reviewers, epriestley

Reviewed By: Blessed Reviewers, epriestley

Subscribers: Korvin, epriestley

Differential Revision: https://secure.phabricator.com/D11145

Details

Provenance
joshuaspenceAuthored on
joshuaspencePushed on Jan 2 2015, 10:11 PM
Reviewer
Blessed Reviewers
Differential Revision
D11145: Minor improvements for handling of `/status/` for Aphlict
Parents
rP44198d68a769: Use the correct `Content-Type` for the Aphlict status route
Branches
Unknown
Tags
Unknown