https://www.redmine.org/https://www.redmine.org/favicon.ico?16793021292012-09-17T07:34:55ZRedmineRedmine - Feature #11843: Use request.format instead of request[:format]https://www.redmine.org/issues/11843?journal_id=409402012-09-17T07:34:55ZJean-Philippe Langjp_lang@yahoo.fr
<ul><li><strong>Tracker</strong> changed from <i>Defect</i> to <i>Feature</i></li><li><strong>Category</strong> set to <i>REST API</i></li></ul><p>Any particular reason to request this?</p> Redmine - Feature #11843: Use request.format instead of request[:format]https://www.redmine.org/issues/11843?journal_id=409502012-09-17T13:06:01ZKevin Gilpin
<ul></ul><p>request[:format] is really just a Rails convention. request.format adheres to the HTTP spec by responding to Accept header. Some client libraries will set the Accept header, e.g. application/json when connecting to the Redmine API.</p>