Added postcondition to ensure the result of {HTTP_CLIENT_REQUEST}.response is attached.
(useless with void-safety compilation, but keep it for non void-safe execution).
This commit is contained in:
@@ -57,6 +57,8 @@ feature -- Access
|
|||||||
-- Execute the request and return the response.
|
-- Execute the request and return the response.
|
||||||
-- note: two consecutive calls will trigger two executions!
|
-- note: two consecutive calls will trigger two executions!
|
||||||
deferred
|
deferred
|
||||||
|
ensure
|
||||||
|
Result_set: Result /= Void
|
||||||
end
|
end
|
||||||
|
|
||||||
feature {HTTP_CLIENT_SESSION} -- Execution
|
feature {HTTP_CLIENT_SESSION} -- Execution
|
||||||
|
|||||||
Reference in New Issue
Block a user