Moved recent policy-driven classes into "policy" sub folder

This commit is contained in:
2013-08-20 13:26:55 +02:00
parent 51730e0877
commit 07f71dfc4e
14 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,36 @@
note
description: "[
Policy that no client ever need use a proxy.
Users of this policy cannot safely use chunked transfer-encoding, or any
HTTP/1.1-specific features. So best used only for examples.
]"
date: "$Date$"
revision: "$Revision$"
class WSF_NO_PROXY_POLICY
inherit
WSF_PROXY_USE_POLICY
redefine
requires_proxy
end
feature -- Access
requires_proxy (req: WSF_REQUEST): BOOLEAN
-- Does `req' require use of `proxy_server'?
do
end
proxy_server (req: WSF_REQUEST): URI
-- Absolute URI of proxy server which `req' must use
do
create Result.make_from_string ("")
-- doesn't meet the postcondition, but the precondition is never true.
end
end