Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: be70200b82304db8e4ec2dc82316334bf68fe540
Ticket: 9172a66e4078f9a70d9ad439f38d99a2ca2cddb0
HTTP 1.1 chunk support incompatible with -channel option
User & Date: pchai26 on 2015-08-18 14:48:31
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/plain"
  4. comment changed to:
    Hello Tcl Core Team,
    
    I am having an issue with http 2.7+, with Tcl 8.5+. 
    
    First, if you put this url string in browser (Chrome, firefox, IE, etc,):
    “http://skyview.gsfc.nasa.gov/cgi-bin/pskcall?VCOORD=ETA%20Carinae&SURVEY=DSS&SCOORD=Equatorial&SFACTR=Default&PIXELX=300&PIXELY=300”
    
    It will produce a data file (astronomical data file.) The data file is correct and being our test benchmark. 
    
    But if you tried these commands under TCLSH:
    
    package require http
    set skyviewout [open “test.fits” w]
    set token [::http:: geturl “http://skyview.gsfc.nasa.gov/cgi-bin/pskcall” -channel $skyviewout -query “VCOORD=ETA%20Carinae&SURVEY=DSS&SCOORD=Equatorial&SFACTR=Default&PIXELX=300&PIXELY=300”]
    close $skyviewout
    
    It then produces a corrupted data file that has some undeciphiable strings at beginning of the data file, a line consists of “400^M" and maybe somewhere else in the data file (like break line with “5000^M”) too.
    
    These TCLSH commands used to work fine. Just as soon as we upgrade to http package 2.7+, it suddenly produced strange results, and it is making reading those astronomical data files impossible. 
    
    Can you help?
    
  5. foundin changed to: "Tcl 8.5+"
  6. is_private changed to: "0"
  7. login: "pchai26"
  8. priority changed to: "5 Medium"
  9. private_contact changed to: "a7b47e3e6a613ceeaf221568b866140e112f4810"
  10. resolution changed to: "None"
  11. severity changed to: "Critical"
  12. status changed to: "Open"
  13. submitter changed to: "pchai26"
  14. subsystem changed to: "29. http Package"
  15. title changed to: "Possible issue with http 2.7+"
  16. type changed to: "Bug"