Better support for HTTP/1.0 and also related to persistent connection.
This commit is contained in:
@@ -74,6 +74,9 @@ feature -- Status writing
|
||||
|
||||
feature -- Status report
|
||||
|
||||
http_version: detachable READABLE_STRING_8
|
||||
-- Optional HTTP version.
|
||||
|
||||
is_available: BOOLEAN
|
||||
-- Is output available?
|
||||
--| i.e: no issue with associated output stream, like closed socket, or related?
|
||||
@@ -85,6 +88,16 @@ feature -- Status report
|
||||
deferred
|
||||
end
|
||||
|
||||
feature -- Element change
|
||||
|
||||
set_http_version (v: like http_version)
|
||||
-- Set `http_version' to `v'.
|
||||
require
|
||||
valid_version: v /= Void implies v.starts_with ("HTTP/")
|
||||
do
|
||||
http_version := v
|
||||
end
|
||||
|
||||
feature -- Basic operations
|
||||
|
||||
flush
|
||||
|
||||
Reference in New Issue
Block a user