summaryrefslogtreecommitdiffstats
path: root/ds9/library/url.tcl
diff options
context:
space:
mode:
authorWilliam Joye <wjoye@cfa.harvard.edu>2018-01-08 16:54:46 (GMT)
committerWilliam Joye <wjoye@cfa.harvard.edu>2018-01-08 16:54:46 (GMT)
commit62d555c8f989ab6eb026387cbf52bb46ebb2dfea (patch)
tree3d8ab6ad9560d9cabe178cc98243393e8ead6a53 /ds9/library/url.tcl
parenta6b4d3502588a293d33c44e807af40cea4cb557f (diff)
downloadblt-62d555c8f989ab6eb026387cbf52bb46ebb2dfea.zip
blt-62d555c8f989ab6eb026387cbf52bb46ebb2dfea.tar.gz
blt-62d555c8f989ab6eb026387cbf52bb46ebb2dfea.tar.bz2
rm timeout from URL request
Diffstat (limited to 'ds9/library/url.tcl')
-rw-r--r--ds9/library/url.tcl6
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 {}