HomePhorge

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
Joshua SpenceAuthored on Jan 2 2015, 2:10 PM
themackabuPushed on Tue, Mar 25, 8:07 PM
Parents
rP44198d68a769: Use the correct `Content-Type` for the Aphlict status route
Branches
Unknown
Tags
Unknown

Event Timeline