naming: meta_variable(s)
changed some string type to READABLE_STRING_32 or READABLE_STRING_8 for now regarding Meta variables (need decision here..)
This commit is contained in:
@@ -23,9 +23,9 @@ feature -- Access
|
||||
path: STRING
|
||||
-- ???
|
||||
|
||||
request_content_type (content_type_supported: detachable ARRAY [STRING]): detachable STRING
|
||||
request_content_type (content_type_supported: detachable ARRAY [STRING]): detachable READABLE_STRING_8
|
||||
local
|
||||
s: detachable STRING
|
||||
s: detachable READABLE_STRING_8
|
||||
i,n: INTEGER
|
||||
do
|
||||
Result := request.content_type
|
||||
|
||||
@@ -11,11 +11,12 @@ feature -- Access
|
||||
|
||||
accepted_content_types (req: EWSGI_REQUEST): detachable ARRAYED_LIST [STRING]
|
||||
local
|
||||
l_accept: detachable STRING
|
||||
s,q: STRING
|
||||
l_accept: detachable READABLE_STRING_8
|
||||
s: STRING_8
|
||||
q: READABLE_STRING_8
|
||||
p: INTEGER
|
||||
lst: LIST [STRING]
|
||||
qs: QUICK_SORTER [STRING]
|
||||
lst: LIST [READABLE_STRING_8]
|
||||
qs: QUICK_SORTER [READABLE_STRING_8]
|
||||
do
|
||||
l_accept := req.http_accept
|
||||
--TEST l_accept := "text/html,application/xhtml+xml;q=0.6,application/xml;q=0.2,text/plain;q=0.5,*/*;q=0.8"
|
||||
|
||||
Reference in New Issue
Block a user