Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 5091b0e1b22fac6123c674b3a3901d4b1e0c7defb1f4852b97ec6d11b2b6fbbd
Ticket: 13657a2dc35427f4ade49c7abaf5afaab4a016dd
application/json is not a binary payload for http
User & Date: anonymous on 2019-11-18 19:26:41
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/plain"
  4. comment changed to:
    The application/json content type should not be handled as binary data.  It is equally as useful as application/xml.
    
    Please add "json" to the minor types in the plain/text content detection.  Note that application/json must be in UTF8 encoding by the RFC.  It is text.
    
    https://github.com/tcltk/tcl/blob/master/library/http/http.tcl#L3023
    
    < if {$minor in {"xml" "xml-external-parsed-entity" "xml-dtd"}} {
    > if {$minor in {"json" "xml" "xml-external-parsed-entity" "xml-dtd"}} {
    
  5. foundin changed to: "8.6.8"
  6. is_private changed to: "0"
  7. login: "anonymous"
  8. priority changed to: "5 Medium"
  9. private_contact changed to: "5c85e2b220b306d2db9c0eb95e8abf773a2c7a98"
  10. resolution changed to: "None"
  11. severity changed to: "Important"
  12. status changed to: "Open"
  13. submitter changed to: "anonymous"
  14. subsystem changed to: "29. http Package"
  15. title changed to: "application/json is not a binary payload for http"
  16. type changed to: "Bug"