Added `{WGI_REQUEST}.wgi_*' function to WSF_REQUEST
This commit is contained in:
@@ -80,7 +80,7 @@ feature -- Access: Input
|
|||||||
deferred
|
deferred
|
||||||
end
|
end
|
||||||
|
|
||||||
feature -- Access: CGI meta variables
|
feature -- Access: CGI meta variables
|
||||||
|
|
||||||
meta_variable (a_name: READABLE_STRING_8): detachable READABLE_STRING_8
|
meta_variable (a_name: READABLE_STRING_8): detachable READABLE_STRING_8
|
||||||
-- Environment variable related to `a_name'
|
-- Environment variable related to `a_name'
|
||||||
@@ -129,7 +129,7 @@ feature -- Access: CGI meta variables
|
|||||||
deferred
|
deferred
|
||||||
end
|
end
|
||||||
|
|
||||||
feature -- EWSGI access
|
feature -- Eiffel WGI access
|
||||||
|
|
||||||
wgi_version: READABLE_STRING_8
|
wgi_version: READABLE_STRING_8
|
||||||
-- Eiffel WGI version
|
-- Eiffel WGI version
|
||||||
|
|||||||
@@ -119,6 +119,28 @@ feature -- Helper
|
|||||||
Result := request_method.is_case_insensitive_equal (m)
|
Result := request_method.is_case_insensitive_equal (m)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
feature -- Eiffel WGI access
|
||||||
|
|
||||||
|
wgi_version: READABLE_STRING_8
|
||||||
|
-- Eiffel WGI version
|
||||||
|
--| example: "1.0"
|
||||||
|
do
|
||||||
|
Result := wgi_request.wgi_version
|
||||||
|
end
|
||||||
|
|
||||||
|
wgi_implementation: READABLE_STRING_8
|
||||||
|
-- Information about Eiffel WGI implementation
|
||||||
|
--| example: "Eiffel Web Framework 1.0"
|
||||||
|
do
|
||||||
|
Result := wgi_request.wgi_implementation
|
||||||
|
end
|
||||||
|
|
||||||
|
wgi_connector: WGI_CONNECTOR
|
||||||
|
-- Associated Eiffel WGI connector
|
||||||
|
do
|
||||||
|
Result := wgi_request.wgi_connector
|
||||||
|
end
|
||||||
|
|
||||||
feature {NONE} -- Access: global variable
|
feature {NONE} -- Access: global variable
|
||||||
|
|
||||||
items_table: HASH_TABLE [WSF_VALUE, READABLE_STRING_8]
|
items_table: HASH_TABLE [WSF_VALUE, READABLE_STRING_8]
|
||||||
|
|||||||
Reference in New Issue
Block a user