Question about Set-Cookie encoding

Vjacheslav Chekushin <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Organization LMT
Message-ID <[email protected]>
Hi, list.


I've encode Set-Cookie header as specified in WSP (encoding-version 1.3):

c1 - Set-Cookie header
0e - value-length
9f - version (1)
74 t
65 e
73 s
74 t
00
73 s
73 s
73 s
73 s
73 s
73 s
73 s
00

(From WSP:
Set-Cookie-value = Value-length Cookie-version Cookie-name Cookie-val *Parameter
Cookie-version = Version-value
Cookie-name = Text-string
Cookie-val = Text-string)

But seems phone does not accept it. (At least it does not send Cookie header
back to server)

I can't find out where I am wrong.

Test phone is SonyEricsson t68i and it accepts encoding version 1.3

-- 
Vjacheslav Chekushin                                mailto:[email protected]
Latvian Mobile Phone Company                        http://www.lmt.lv
VAS Technologies Division
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.