diff --git a/webif/lib/pkg.class b/webif/lib/pkg.class index bac3717..c52d244 100755 --- a/webif/lib/pkg.class +++ b/webif/lib/pkg.class @@ -230,6 +230,7 @@ proc {pkg fetchfile} {url} { $f puts -nonewline "Host: hpkg.tv\r\n" $f puts -nonewline "Connection: close\r\n" $f puts -nonewline "\r\n" + $f flush # Skip headers in the response. set line [string trim [$f gets]]