[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gzz-commits] storm/org/nongnu/storm/util HTTPProxy.java
From: |
Benja Fallenstein |
Subject: |
[Gzz-commits] storm/org/nongnu/storm/util HTTPProxy.java |
Date: |
Wed, 21 May 2003 17:09:28 -0400 |
CVSROOT: /cvsroot/storm
Module name: storm
Changes by: Benja Fallenstein <address@hidden> 03/05/21 17:09:28
Modified files:
org/nongnu/storm/util: HTTPProxy.java
Log message:
fix as said on mailing list
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/storm/storm/org/nongnu/storm/util/HTTPProxy.java.diff?tr1=1.31&tr2=1.32&r1=text&r2=text
Patches:
Index: storm/org/nongnu/storm/util/HTTPProxy.java
diff -u storm/org/nongnu/storm/util/HTTPProxy.java:1.31
storm/org/nongnu/storm/util/HTTPProxy.java:1.32
--- storm/org/nongnu/storm/util/HTTPProxy.java:1.31 Tue May 13 05:52:14 2003
+++ storm/org/nongnu/storm/util/HTTPProxy.java Wed May 21 17:09:28 2003
@@ -147,6 +147,7 @@
byte[] bytes = s.getBytes("US-ASCII");
resp.getOutputStream().write(bytes);
+ resp.close();
return resp;
} catch(FileNotFoundException e) {
return resf.makeError(404, "Not found");
@@ -231,7 +232,7 @@
for(Iterator i=ids.iterator(); i.hasNext();) {
BlockId id = (BlockId)i.next();
String s = id.getURI();
- if(rewrite || id.getContentType().equals("text/html"))
+ if(rewrite)
s = base + s;
w.write("<a href=\""+s+"\">"+id+"</a><br>\n");
}
- [Gzz-commits] storm/org/nongnu/storm/util HTTPProxy.java, (continued)
- [Gzz-commits] storm/org/nongnu/storm/util HTTPProxy.java, Hermanni Hyytiälä, 2003/05/05
- [Gzz-commits] storm/org/nongnu/storm/util HTTPProxy.java, Hermanni Hyytiälä, 2003/05/06
- [Gzz-commits] storm/org/nongnu/storm/util HTTPProxy.java, Tuukka Hastrup, 2003/05/06
- [Gzz-commits] storm/org/nongnu/storm/util HTTPProxy.java, Tuukka Hastrup, 2003/05/06
- [Gzz-commits] storm/org/nongnu/storm/util HTTPProxy.java, Tuukka Hastrup, 2003/05/08
- [Gzz-commits] storm/org/nongnu/storm/util HTTPProxy.java, Tuukka Hastrup, 2003/05/08
- [Gzz-commits] storm/org/nongnu/storm/util HTTPProxy.java, Tuukka Hastrup, 2003/05/08
- [Gzz-commits] storm/org/nongnu/storm/util HTTPProxy.java, Tuukka Hastrup, 2003/05/08
- [Gzz-commits] storm/org/nongnu/storm/util HTTPProxy.java, Tuukka Hastrup, 2003/05/08
- [Gzz-commits] storm/org/nongnu/storm/util HTTPProxy.java, Tuukka Hastrup, 2003/05/13
- [Gzz-commits] storm/org/nongnu/storm/util HTTPProxy.java,
Benja Fallenstein <=
- [Gzz-commits] storm/org/nongnu/storm/util HTTPProxy.java, Benja Fallenstein, 2003/05/21
- [Gzz-commits] storm/org/nongnu/storm/util HTTPProxy.java, Benja Fallenstein, 2003/05/22
- [Gzz-commits] storm/org/nongnu/storm/util HTTPProxy.java, Benja Fallenstein, 2003/05/22
- [Gzz-commits] storm/org/nongnu/storm/util HTTPProxy.java, Benja Fallenstein, 2003/05/22
- [Gzz-commits] storm/org/nongnu/storm/util HTTPProxy.java, Benja Fallenstein, 2003/05/24
- [Gzz-commits] storm/org/nongnu/storm/util HTTPProxy.java, Benja Fallenstein, 2003/05/24
- [Gzz-commits] storm/org/nongnu/storm/util HTTPProxy.java, Benja Fallenstein, 2003/05/25
- [Gzz-commits] storm/org/nongnu/storm/util HTTPProxy.java, Tuukka Hastrup, 2003/05/26