diff options
author | William Joye <wjoye@cfa.harvard.edu> | 2018-10-08 19:26:14 (GMT) |
---|---|---|
committer | William Joye <wjoye@cfa.harvard.edu> | 2018-10-08 19:26:14 (GMT) |
commit | 461af8b5d45d3b9d597f06b85551dd87c9e8a095 (patch) | |
tree | cd5d83cadf7721e1b2df7c420695c41cdb3e1423 /ds9 | |
parent | eb0dfa626bd06ce88790bcc0f3f5d70aff90f372 (diff) | |
download | blt-461af8b5d45d3b9d597f06b85551dd87c9e8a095.zip blt-461af8b5d45d3b9d597f06b85551dd87c9e8a095.tar.gz blt-461af8b5d45d3b9d597f06b85551dd87c9e8a095.tar.bz2 |
FITS: command -url: accept mime type 'text' as 'fits'
Diffstat (limited to 'ds9')
-rw-r--r-- | ds9/doc/release/r8.0.html | 2 | ||||
-rw-r--r-- | ds9/library/url.tcl | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/ds9/doc/release/r8.0.html b/ds9/doc/release/r8.0.html index d13948a..c4c2501 100644 --- a/ds9/doc/release/r8.0.html +++ b/ds9/doc/release/r8.0.html @@ -91,6 +91,8 @@ incorrectly calculating an index into the data cube.</tt></li> <li><tt>09.30.2018 CONTOUR: changed contour limits behavior. Now set mode to USER when limits are set and update dialog accordingly.</tt></li> <li><tt>10.01.2018 API: Tweaked parsers to fix issue with XPA/SAMP error messages.</tt></li> <li><tt><b>10.02.2018 RELEASE version 8.0rc5</b></tt></li> +<li><tt>10.08.2018 FITS: command -url: accept mime type 'text' as 'fits'.</tt></li> +<li><tt><b>12.15.2018 RELEASE version 8.0</b></tt></li> </ol> </div> </body> diff --git a/ds9/library/url.tcl b/ds9/library/url.tcl index 3d30abc..d8f21ee 100644 --- a/ds9/library/url.tcl +++ b/ds9/library/url.tcl @@ -264,8 +264,8 @@ proc LoadURLFitsHTTP {url layer mode} { "image/x-zfits" - "binary/x-zfits" {set encoding pack} + "text/plain" {} "text/html" - - "text/plain" - default { Error "[msgcat::mc {File not Found or Unable to load FITS data MIME type}] $mime" return |