Shift-sequence

Shift-sequence SearchSearch
Author Message
Anonymous
Posted on Wednesday, September 24, 2003 - 04:38 pm:   

How to differ a shift-sequence from the starting of a new header field as a string header name may also start with 0x7f which is used for a shift escape. Also, what is exact meaning of a token-string and how it differs from the text-string?
Bryce Norwood - NowSMS Support
Posted on Tuesday, October 14, 2003 - 08:58 pm:   

Good question. Based upon my interpretation of the spec, I agree that this is a problem area. I believe that a header name that started with 0x7F would be a problem, as it could be interpreted as a shift sequence.

Token-text vs. Text-string is simply a difference that Text-string must start with a quote (") character if the first character of the string is > 0x7F. This is necessary to preserve general WSP header parsing rules.