use enumerateKeys()
[org.ibex.net.git] / src / org / ibex / net / HTTP.java
index 5cab19d..0bb9f38 100644 (file)
@@ -47,7 +47,7 @@ public class HTTP {
             private Hash h = new Hash();
             public String getCookieHeader(String domain, String path, boolean secure) {
                 StringBuffer ret = new StringBuffer("Cookie: ");
-                Enumeration e = h.keys();
+                Enumeration e = h.enumerateKeys();
                 while (e.hasMoreElements()) {
                     Vec v = (Vec)h.get(e.nextElement());
                     Cookie cookie = null;