Added basic support for "Expect" http header
i.e: WSF_REQUEST.http_expect: detachable READABLE_STRING_8 Added WSF_REQUEST.request_time_stamp: INTEGER_64
This commit is contained in:
@@ -44,6 +44,8 @@ feature -- Access
|
||||
|
||||
http_connection: STRING = "HTTP_CONNECTION"
|
||||
|
||||
http_expect: STRING = "HTTP_EXPECT"
|
||||
|
||||
http_referer: STRING = "HTTP_REFERER"
|
||||
|
||||
http_transfer_encoding: STRING = "HTTP_TRANSFER_ENCODING"
|
||||
|
||||
@@ -559,6 +559,12 @@ feature -- HTTP_*
|
||||
deferred
|
||||
end
|
||||
|
||||
http_expect: detachable READABLE_STRING_8
|
||||
-- The Expect request-header field is used to indicate that particular server behaviors are required by the client.
|
||||
-- Example: '100-continue'.
|
||||
deferred
|
||||
end
|
||||
|
||||
http_host: detachable READABLE_STRING_8
|
||||
-- Contents of the Host: header from the current request, if there is one.
|
||||
deferred
|
||||
|
||||
@@ -196,6 +196,13 @@ feature -- Access: HTTP_* CGI meta parameters - 1.1
|
||||
Result := meta_string_variable ({WGI_META_NAMES}.http_connection)
|
||||
end
|
||||
|
||||
http_expect: detachable READABLE_STRING_8
|
||||
-- The Expect request-header field is used to indicate that particular server behaviors are required by the client.
|
||||
-- Example: '100-continue'.
|
||||
do
|
||||
Result := meta_string_variable ({WGI_META_NAMES}.http_expect)
|
||||
end
|
||||
|
||||
http_host: detachable READABLE_STRING_8
|
||||
-- Contents of the Host: header from the current request, if there is one.
|
||||
do
|
||||
|
||||
Reference in New Issue
Block a user