Download Reference Manual
The Developer's Library for D
About Wiki Forums Source Search Contact

Multiple HTTP GET request & custom HTTP headers

Moderators: larsivi kris

Posted: 06/18/09 17:03:12


I would like to know how I could make multiple HTTP GET request with different URL with the HttpClient? or HttpGet? classes and without creating a new client object. As far as I can see there is no URL set method for any of the Http classes. Am I wrong? Is there anything? Is that on purpose? If not I would like to add this to the Http classes.

Another issue related to the Http classes is the limitation of possible HttpHeaders?. For a custom HttpServer? implementation I need to set custom HttpHeaders?, but the HttpHeaders? class method add accepts only HttpHeaderName? properties as input. Would it hurt to add this method to HttpHeaders??

        void add (char[] name, char[] value)
                super.add (name, value);

ciao Lars

There are no responses to display.