Vjacheslav Chekushin wrote: > > I want to ask about Encoding-Version support. > Looking in sources, I found that some steps are done, but now it is > not developing. > > What about these comments in wsp_headers.c : > /* XXX this should obey what kind of WSP Encoding-Version the client is using */ > > I'm planning to make cookie wsp packing/unpacking and I need this > Encoding-Version handling at least for parameter encoding > (Max-Age, Domain, Path supported only for 1.3 version). > > Stipe Tolj, as ChangeLog states, you are the person who started this handling. > Can you comment how did you plan to develop it?
didn't get the point right I guess. You want to WSP unpack/pach the WSP cookie information into the value segments?! Is that right? > BTW, there is bug in existing implementation: > > --- ../gateway_base/wap/wsp_server_method_states.def Tue Mar 2 11:16:36 2004 > +++ wap/wsp_server_method_states.def Fri Mar 5 14:27:54 2004 > @@ -305,7 +305,7 @@ > new_pdu->u.Reply.status = > wsp_convert_http_status_to_wsp_status(e->status); > new_pdu->u.Reply.headers = > - wsp_headers_pack(e->response_headers, 1, WSP_1_2); > + wsp_headers_pack(e->response_headers, 1, > sm->encoding_version); > new_pdu->u.Reply.data = octstr_duplicate(e->response_body); > > /* Send TR-Result.req to WTP */ thanks, +1, commited to cvs. Stipe mailto:[EMAIL PROTECTED] ------------------------------------------------------------------- Wapme Systems AG M�nsterstr. 248 40470 D�sseldorf, NRW, Germany phone: +49.211.74845.0 fax: +49.211.74845.299 mailto:[EMAIL PROTECTED] http://www.wapme-systems.de/ ------------------------------------------------------------------- -----BEGIN PGP PUBLIC KEY BLOCK----- Version: GnuPG v1.2.2 (Cygwin) mIsEP6mcYwEEAMDnUiUwrbb+xwTFWN6TxF2+XZu7/alwJMeCwMBRvXtPZqfjpPhS OkBpU0F4TrVuugz1HINTSaJTYq10AzDQXp5NkyWgckqW79nPAWuOX0dicbJk+cN2 nM2TI4KaxUDe6u8hghNEnH/i2lXsUu9apnP/iixzV81VC2je3uc9hZpnAAYptEVT dGlwZSBUb2xqIChUZWNobm9sb2d5IENlbnRlciAmIFJlc2VhcmNoIExhYikgPHRv bGpAd2FwbWUtc3lzdGVtcy5kZT6ItAQTAQIAHgUCP6mcYwIbAwYLCQgHAwIDFQID AxYCAQIeAQIXgAAKCRABV0w1BqPYRuSqA/wPzsQxao2YePENCtgRTrO86U6zg3sl OcS6CJFI4FZP5h/xD3GRsNH1+MPSvZlomDdpFnr547DGz/Kq9MXuQwVvlVig5yWZ K5dtKp1r5YLhxJQBhfirZbRFFnYmf19f18J8OoS28tuFVftDl1AIwJS3HLyBTv6H g2HyLAEKQIp30Q== =aYCI -----END PGP PUBLIC KEY BLOCK-----
