Another possibility: we could mandate that for web access, the URI must always 
end with a file extension type, and so the last dot would be unambiguous.

So you would never access http:/…/myaction

You could only access http:/…./myaction.js , http:/…./myaction.txt, 
http:/…../myaction.svg, etc.   The .js extension would be the default (or .json 
… I think I prefer .js)

> On Jan 13, 2017, at 2:44 PM, Rodric Rabbah <[email protected]> wrote:
> 
> More on this:
>> One issue with using "." as the separator is that it's also a legal
> character for action names.
> 
> We could mandate that if an extension is present it is a content-type and
> not an action name. Hence if the action is called "myaction.html" and to
> turn the response into "text/html" then the resource is
> ".../myaction.html.html/some-field". In the absence of an extension, the
> default is JSON.
> 
> Felix I amended the pr with your suggestions to track progress.
> 
> -r

Reply via email to