Feature #5150

Take care of HTTP headers with unicode values

Added by Stavros Sachtouris about 5 years ago. Updated about 5 years ago.

Status:Feedback Start date:02/24/2014
Priority:Medium Due date:02/25/2014
Assignee:Stavros Sachtouris % Done:

100%

Category:kamaki Spent time: 14.00 hours
Target version:v0.13 Estimated time:2.00 hours

Related issues

related to ./kamaki - Bug #5180: Unquote and encode ONLY the synnefo-related headers when ... In Progress 03/04/2014 03/05/2014

Associated revisions

Revision 6c6abf6e
Added by Stavros Sachtouris about 5 years ago

URL-encode http headers

Refs: #5150

Revision fd9457bd
Added by Stavros Sachtouris about 5 years ago

Apply UTF-8 encoding while in/output with console

Refs: #5150

Revision c2332605
Added by Stavros Sachtouris about 5 years ago

Implement _encode_nicely method to supress errors

Refs: #5150

Loop over a string and attempt to encode it in a given encoding
If a char fails, replace it with a replacement character

Revision 2f302751
Added by Stavros Sachtouris about 5 years ago

Decode headers to utf-8, print in user-chosen enc.

Refs: #5150

Revision 8df239df
Added by Stavros Sachtouris about 5 years ago

Encode list/item prints in user-defined encoding

Refs: #5150

Revision df55e7aa
Added by Stavros Sachtouris about 5 years ago

Remove redudant en/de-coding from CLI outputs

Refs: #5150

Revision 026e10fc
Added by Stavros Sachtouris about 5 years ago

Correct console in/output en/decoding handling

Refs: #5150

Revision 6106e751
Added by Stavros Sachtouris about 5 years ago

Quote URL for request exactly after parsing it

Refs: #5150

Revision 23ea9475
Added by Stavros Sachtouris about 5 years ago

Fix typo in output stream assignment

Refs: #5150

Revision c3e41146
Added by Stavros Sachtouris about 5 years ago

Fix one-command/shell differences in http encoding

Refs: #5150

Revision 75e73aab
Added by Stavros Sachtouris about 5 years ago

Fix details that ruin internal unicode objects

Refs: #5150, #5180

Specifics:
- the image path is conctructed with a + operator, use the '%s'
notation instead
- Do not quote everything on the URL, because it destroyes
? and & characters. Encode and quote only what needs to be

History

#1 Updated by Stavros Sachtouris about 5 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

#2 Updated by Stavros Sachtouris about 5 years ago

  • % Done changed from 100 to 10

#3 Updated by Stavros Sachtouris about 5 years ago

  • Status changed from Resolved to Feedback
  • % Done changed from 10 to 50

#4 Updated by Stavros Sachtouris about 5 years ago

  • % Done changed from 50 to 100

Also available in: Atom PDF