Updated a few comments

Removed useless NULL_HTTP_CLIENT.
Extracted mime code from NET_HTTP_CLIENT_REQUEST.response into specific routine.
This commit is contained in:
2015-09-15 23:45:41 +02:00
parent ff9a238f5c
commit 6c7637716b
14 changed files with 294 additions and 184 deletions

View File

@@ -11,6 +11,7 @@
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
</option>
<variable name="netssl_http_client_enabled" value="false"/>
<variable name="net_http_client_disabled" value="false"/>
<variable name="libcurl_http_client_disabled" value="false"/>
<library name="base" location="$ISE_LIBRARY\library\base\base-safe.ecf"/>
<library name="http_client" location="..\http_client-safe.ecf" readonly="false" use_application_options="true">

View File

@@ -7,12 +7,11 @@ feature -- Init
make
local
null: NULL_HTTP_CLIENT
null: NULL_HTTP_CLIENT_SESSION
do
create null
if attached null.new_session ("http://example.com/") as l_sess then
check not l_sess.is_available end
end
create null.make ("http://example.com/")
check not null.is_available end
test_get_with_authentication
test_http_client
end