« Previous | Next » 

Revision ec2b14d3


Added by Robert Lemke almost 11 years ago

[+FEATURE] FLOW3 (MVC): Content Negotiation support in ActionController

This adds support for content negotiation based on the Accept HTTP header.
If a format other than "html" is accepted by the client and the format is
listed in a controller's "supportedFormats" array, this format is chosen.

If a format has been explicitly defined through a @format property of the
current route, that format is used instead.

In any other case "html" is used for web requests and "txt" for command line
requests respectively.

Resolves: #10680
Resolves: #10681
Relates to: #9475

Change-Id: I9385a7284433ef9d741e96593bdbe1c0a3060daa

  • added
  • modified
  • copied
  • renamed
  • deleted