[xml] duplicated nanohttp code

Date view Thread view Subject view Author view

From: Wayne Davison (wayned@users.sourceforge.net)
Date: Tue Oct 24 2000 - 03:39:57 EDT


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?

..wayne..

----
Message from the list xml@rpmfind.net
Archived at : http://xmlsoft.org/messages/
to unsubscribe: echo "unsubscribe xml" | mail  majordomo@rpmfind.net


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Tue Oct 24 2000 - 03:43:53 EDT