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?
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 */
-- Vjacheslav Chekushin mailto:[EMAIL PROTECTED] Latvian Mobile Phone Company http://www.lmt.lv VAS Technologies Division
