Relaxed WSF_REDIRECTION_RESPONSE.set_content (.., ..) to allow Void for content type
in order to use the one set in header or the default one.
This commit is contained in:
@@ -55,8 +55,9 @@ feature -- Element change
|
||||
url_location := a_url_location
|
||||
end
|
||||
|
||||
set_content (a_content: attached like content; a_content_type: attached like content_type)
|
||||
set_content (a_content: attached like content; a_content_type: like content_type)
|
||||
-- Set `a_content' of type `a_content_type'
|
||||
-- If `a_content_type' is Void, use value from `header' or default "text/plain"
|
||||
do
|
||||
content := a_content
|
||||
content_type := a_content_type
|
||||
|
||||
Reference in New Issue
Block a user