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
<[email protected]> 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.
>



-- 
    /kinkie

Reply via email to