Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: c00cee78ee0010adcfec2c832710f6d5e7f1c615
Ticket: b9d0434667d94e5f9737b87ff024e7bc3baea5d5
default settings request unreliable "deflate" compression
User & Date: nem on 2014-12-11 10:33:05
Changes

  1. icomment:
    As described in the linked c.l.t thread, the problem appears to be due to the response being compressed. Tcl appears unable to decompress it correctly. A workaround is to disable the Accept-Encoding header:
    
    % package require http
    2.8.8
    % http::geturl http://rest.db.ripe.net/search \
        -headers [list Accept-Encoding ""]
    ::http::1
    
  2. login: "nem"
  3. mimetype: "text/plain"
  4. username: "Neil Madden"