Refactored NET request implementation. - fixed potential issue with header conflict. - simplified, and extract parts of the code into routine. - Implemented read of chunked Transfer-Encoding - Fixed potential issue with socket handling. First steps to be able to exclude net or libcurl implementation when using http_client lib. Removed from NET implementation the hack related to PUT and upload data (it was used to workaround an issue with libcurl).
44 lines
1.9 KiB
XML
44 lines
1.9 KiB
XML
<?xml version="1.0" encoding="ISO-8859-1"?>
|
|
<system xmlns="http://www.eiffel.com/developers/xml/configuration-1-14-0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.eiffel.com/developers/xml/configuration-1-14-0 http://www.eiffel.com/developers/xml/configuration-1-14-0.xsd" name="http_client" uuid="628F5A96-021B-4191-926B-B3BF49272866" library_target="http_client">
|
|
<target name="http_client">
|
|
<root all_classes="true"/>
|
|
<file_rule>
|
|
<exclude>/.git$</exclude>
|
|
<exclude>/EIFGENs$</exclude>
|
|
<exclude>/.svn$</exclude>
|
|
</file_rule>
|
|
<option warning="true" full_class_checking="true" void_safety="none" syntax="provisional">
|
|
</option>
|
|
<library name="base" location="$ISE_LIBRARY\library\base\base.ecf"/>
|
|
<library name="curl" location="$ISE_LIBRARY\library\cURL\cURL.ecf">
|
|
<condition>
|
|
<custom name="libcurl_http_client_disabled" excluded_value="true"/>
|
|
</condition>
|
|
</library>
|
|
|
|
<library name="encoder" location="..\..\text\encoder\encoder.ecf"/>
|
|
<library name="http" location="..\protocol\http\http.ecf"/>
|
|
<library name="http_auth" location="..\..\server\authentication\http_authorization\http_authorization.ecf"/>
|
|
<library name="net" location="$ISE_LIBRARY\library\net\net.ecf">
|
|
<condition>
|
|
<custom name="net_http_client_disabled" excluded_value="true"/>
|
|
</condition>
|
|
</library>
|
|
|
|
<library name="uri" location="$ISE_LIBRARY\library\text\uri\uri.ecf"/>
|
|
<cluster name="src" location=".\src\">
|
|
<cluster name="spec_null" location="$|spec/null" recursive="true"/>
|
|
<cluster name="spec_net" location="$|spec/socket" recursive="true">
|
|
<condition>
|
|
<custom name="net_http_client_disabled" excluded_value="true"/>
|
|
</condition>
|
|
</cluster>
|
|
<cluster name="spec_libcurl" location="$|spec/libcurl" recursive="true">
|
|
<condition>
|
|
<custom name="libcurl_http_client_disabled" excluded_value="true"/>
|
|
</condition>
|
|
</cluster>
|
|
</cluster>
|
|
</target>
|
|
</system>
|