From: Wolfgang M. M. <wol...@us...> - 2004-08-12 16:07:57
|
Update of /cvsroot/exist/eXist-1.0/src/org/exist/xmlrpc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11583/src/org/exist/xmlrpc Modified Files: RpcConnection.java Log Message: Added getContentLength() method to XMLDB resource implementations. Index: RpcConnection.java =================================================================== RCS file: /cvsroot/exist/eXist-1.0/src/org/exist/xmlrpc/RpcConnection.java,v retrieving revision 1.66 retrieving revision 1.67 diff -C2 -d -r1.66 -r1.67 *** RpcConnection.java 3 Aug 2004 16:47:38 -0000 1.66 --- RpcConnection.java 12 Aug 2004 16:07:18 -0000 1.67 *************** *** 381,384 **** --- 381,385 ---- ? "BinaryResource" : "XMLResource"); + hash.put("content-length", new Integer(doc.getContentLength())); return hash; } finally { |