cvs commit: xml-rpc/src/java/org/apache/xmlrpc WebServer.java

2002-08-13 Thread dlr
dlr 2002/08/13 15:27:16 Modified:src/java/org/apache/xmlrpc WebServer.java Log: start(): Rolled back previous commit. Jim Redman points out that this is not a valid thing to do when the web server is run via its main() method. Revision ChangesPath 1.13 +1

use of getBytes() in WebServer.java

2002-08-13 Thread Adam Megacz
Uh, that's a bit troubling. If I'm on an EBDIC system, getBytes() will return EBDIC bytes, and then send them over the socket. Shouldn't it be getBytes(ASCII)? - a -- Sick of HTML user interfaces? www.xwt.org

patch to correct improper handling of HTTP Basic authentication

2002-08-13 Thread Adam Megacz
XmlRpc.java does not provide adequate support to implement HTTP Basic Authentication. WebServer.java implements it incorrectly. This patch fixes both problems. If an HTTP request requires authentication, the server MUST return a 401 Unauthorized:

system.multicall()

2002-08-13 Thread Adam Megacz
Here's the patch for system.multicall(), plus a new file it adds (SystemMethods.java). This patch also includes my last patch for HTTP Basic authentication. - a __ org/apache/xmlrpc/SystemMethods.java package