Added {CMS_RESPONSE}.formats: CMS_FORMATS

This commit is contained in:
2015-04-30 09:50:47 +02:00
parent dd3688fab8
commit 17fe37aedd
4 changed files with 23 additions and 13 deletions

View File

@@ -71,11 +71,13 @@ feature -- Access
feature -- Formats
formats: CMS_FORMATS
-- Available content formats.
once
create Result
end
format (a_format_name: detachable READABLE_STRING_GENERAL): detachable CONTENT_FORMAT
-- Content format name `a_format_name' if any.
do
Result := formats.item (a_format_name)
end