diff --git a/draft/library/server/request/rest/src/rest_request_handler_context.e b/draft/library/server/request/rest/src/rest_request_handler_context.e index 27af8247..a90e7d20 100644 --- a/draft/library/server/request/rest/src/rest_request_handler_context.e +++ b/draft/library/server/request/rest/src/rest_request_handler_context.e @@ -73,7 +73,7 @@ feature -- Format request_accepted_format (a_format_variable_name: detachable READABLE_STRING_8; a_supported_content_types: detachable ARRAY [READABLE_STRING_8]): detachable READABLE_STRING_8 -- Format id for the request based on {HTTP_FORMAT_CONSTANTS} do - if a_format_variable_name /= Void and then attached string_parameter (a_format_variable_name) as ctx_format then + if a_format_variable_name /= Void and then attached string_item (a_format_variable_name) as ctx_format then Result := ctx_format.as_string_8 else Result := request_format_from_content_type (request_accepted_content_type (a_supported_content_types))