Re: [PATCH] format support for cache manager actions

From: Alex Rousskov <rousskov_at_measurement-factory.com>
Date: Mon, 15 Aug 2011 08:49:56 -0600

On 08/11/2011 06:19 AM, Amos Jeffries wrote:
> This adds support for multiple output formats in the manager actions.
>
> As discussed earlier it makes use of the file extension concept.
>
> For example: /action.html
>
> Would pass "html" in the format parameter. If the action is able to
> produce HTML output, it can test for this format type and do so. The
> default format is "txt" for backward compatibility.

Should not the best response format be selected based on the Accept
request header instead?

Thank you,

Alex.
Received on Mon Aug 15 2011 - 14:50:24 MDT

This archive was generated by hypermail 2.2.0 : Tue Aug 16 2011 - 12:00:03 MDT