2003/09/07 03:04:31
[org.ibex.core.git] / src / org / xwt / HTTP.java
index 46083d5..b7a3eb8 100644 (file)
@@ -505,7 +505,7 @@ public class HTTP {
                     chunkLen += (char)i;
                 }
             }
-            length = Integer.parseInt(chunkLen, 16);
+            length = Integer.parseInt(chunkLen.trim(), 16);
             if (length == 0) chunkedDone = true;
         }