Skip to content
Tcl Source Code History Of Ticket 0aea0e0dcfee769a
Login

History Of Ticket 0aea0e0dcfee769a

Artifacts Associated With Ticket 0aea0e0dcfee769a

  1. Ticket change [687784f4ef] (rid 146040) by anonymous on 2016-03-29 09:31:58:

    1. assignee initialized to: "nobody"
    2. closer initialized to: "nobody"
    3. cmimetype initialized to: "text/plain"
    4. comment initialized to:
      Most servers today support Content Encoding, and usually send compressed content (gzip, zlib, the RFC is a bit weird in its clarification)
      
      Using the http package, the latest I've used is 2.8.5, the content returned is garbled since the server is sending compressed content, either of a bug, or the package does not how to deal with compressed content??
      
      As a possible workaround, requesting uncompressed content with the Accept-Encoding identity flag fails, content still being garbled
      
      tcl http::geturl documentation, and RFC 7231 state that the -headers syntax include a colon ":"
      e.g. "Pragma: no-cache", or in my case "Accept-Encoding: identity" so, 
      
      http::geturl $url -binary 1 -headers "Accept-Encoding: identity" fails
      
      while removal of the colon
      http::geturl $url -binary 1 -headers "Accept-Encoding identity" works...
      
    5. foundin initialized to: "2.8.5"
    6. is_private initialized to: "0"
    7. login: "anonymous"
    8. priority initialized to: "5 Medium"
    9. resolution initialized to: "None"
    10. severity initialized to: "Important"
    11. status initialized to: "Open"
    12. submitter initialized to: "anonymous"
    13. subsystem initialized to: "29. http Package"
    14. title initialized to:
      http::geturl -headers syntax and compressed content
      
    15. type initialized to: "Bug"
  2. Ticket change [e2897d5e80] (rid 146041) by jan.nijtmans on 2016-03-29 09:58:52:

    1. closedate changed to: "2457476.91588856"
    2. closer changed to: "jan.nijtmans"
    3. icomment: "Dup of [b9d0434667], which is already fixed."
    4. login: "jan.nijtmans"
    5. mimetype: "text/x-fossil-wiki"
    6. resolution changed to: "Duplicate"
    7. status changed to: "Closed"
  3. Ticket change [e76a4a6f68] (rid 146042) by jan.nijtmans on 2016-03-29 10:06:04:

    1. closedate changed to: "2457476.92089108"
    2. icomment:
      B.T.W.: The documentation states that a keyvaluelist of "Pragma no-cache" will result in the http header "Pragma: no-cache". I don't see anything wrong with that.
      
    3. login: "jan.nijtmans"
    4. mimetype: "text/plain"