diff options
Diffstat (limited to 'ds9/library')
-rw-r--r-- | ds9/library/url.tcl | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/ds9/library/url.tcl b/ds9/library/url.tcl index 1fd17db..2ea915f 100644 --- a/ds9/library/url.tcl +++ b/ds9/library/url.tcl @@ -42,7 +42,6 @@ proc GetFileHTTP {url fn} { set ch [open $fn w] if {[catch {http::geturl $url \ - -timeout $ihttp(timeout) \ -channel $ch \ -binary 1 \ -headers "[ProxyHTTP]"} token]} { @@ -50,6 +49,8 @@ proc GetFileHTTP {url fn} { return } + # -timeout $ihttp(timeout) \ + # reset errorInfo (may be set in http::geturl) global errorInfo set errorInfo {} @@ -138,11 +139,12 @@ proc LoadURLFitsHTTP {url layer mode} { set ch [open $fn w] set token [http::geturl $url \ - -timeout $ihttp(timeout) \ -channel $ch \ -binary 1 \ -headers "[ProxyHTTP]"] + # -timeout $ihttp(timeout) \ + # reset errorInfo (may be set in http::geturl) global errorInfo set errorInfo {} |