From: Daniel Veillard (Daniel.Veillard@w3.org)
Date: Tue Oct 24 2000 - 05:39:55 EDT
On Tue, Oct 24, 2000 at 12:39:57AM -0700, Wayne Davison wrote:
>
> I'm wondering why so much code is duplicated between the functions
> xmlNanoHTTPMethod() and xmlNanoHTTPOpen()? The former doesn't handle
> proxy connections, and the latter only does a very simple GET form of
> http fetch. It seems to me that the proxy code should be merged into
> xmlNanoHTTPMethod(), and that xmlNanoHTTPOpen() should be changed to
> just call xmlNanoHTTPMethod() with a bunch of NULL parameters. Is
> there some reason why I shouldn't do this?
None, go for it, I think this was purely historical.
Daniel
-- Daniel.Veillard@w3.org | W3C, INRIA Rhone-Alpes | libxml Gnome XML toolkit Tel : +33 476 615 257 | 655, avenue de l'Europe | http://xmlsoft.org/ Fax : +33 476 615 207 | 38330 Montbonnot FRANCE | Rpmfind search site http://www.w3.org/People/all#veillard%40w3.org | http://rpmfind.net/ ---- Message from the list xml@rpmfind.net Archived at : http://xmlsoft.org/messages/ to unsubscribe: echo "unsubscribe xml" | mail majordomo@rpmfind.net
This archive was generated by hypermail 2b29 : Tue Oct 24 2000 - 05:43:24 EDT