Simple HTTP support

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Fri Feb 25 11:26:15 PST 2011


On 2/25/11 10:36 AM, Jonas Drewsen wrote:
> On 25/02/11 16.01, Andrei Alexandrescu wrote:
>> 1. A declarations module for libcurl. We'd put that in etc. You wouldn't
>> even need to go through the review process, the need and the benefits
>> are obvious. Nobody has had a chance to do that yet.
>
> Libcurl declarations could be a way forward. As far as I can see from
> the phobos makefiles there really isn't any dependencies on anything
> other than standard system libraries and zlib. In order to support the
> full curl API the following libs are listed as optional dependencies.
>
> I guess it would not be a good idea to include the source for all these
> like it is done with zlib in etc. So how should this be handled? Should
> all optional deps just be opted out? Alternatively they could be
> statically linked in the binary distribution of phobos?

At this point this is open to discussion - in this very group. Perhaps 
the nicest way would be to automatically adapt to whatever is installed 
on the user's platform.

Andrei


More information about the Digitalmars-d mailing list