Corrected remaining issue related to recent addition of REQUEST_ROUTER.make_with_base_url

And applied removal of format_name and format_id, and replaced by accepted_format_name, ...
This commit is contained in:
Jocelyn Fiat
2012-01-20 18:55:03 +01:00
parent da9fa4ecc2
commit c92c2a91b4
7 changed files with 12 additions and 50 deletions

View File

@@ -62,7 +62,7 @@ feature -- Execution
l_format_id: INTEGER
do
content_type_supported := <<{HTTP_CONSTANTS}.application_json, {HTTP_CONSTANTS}.text_xml, {HTTP_CONSTANTS}.text_plain>>
l_format_id := ctx.request_format_id ("format", content_type_supported)
l_format_id := ctx.request_accepted_format_id ("format", content_type_supported)
if authenticated (ctx) then
l_full := attached ctx.query_parameter ("details") as v and then v.is_case_insensitive_equal ("true")
if attached authenticated_identifier (ctx) as log then

View File

@@ -55,7 +55,7 @@ feature -- Execution
-- ctx.request_format_id ("format", Void)
if attached ctx.request_format ("format", Void) as l_format then
if attached ctx.request_accepted_format ("format", Void) as l_format then
s.append_string (" format=" + l_format + "%N")
end