Sounds good, but it'd also be nice to allow the user to simply force a
format. How about using Accept when no format is specified by the
user?
On Mon, Aug 15, 2011 at 4:49 PM, Alex Rousskov
<rousskov_at_measurement-factory.com> wrote:
> 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.
>
-- Â Â /kinkieReceived on Mon Aug 15 2011 - 19:47:36 MDT
This archive was generated by hypermail 2.2.0 : Tue Aug 16 2011 - 12:00:03 MDT