Paul Keogh wrote: > > Hi Stipe, > > Could you give us some details on the last wsp_headers.c patch ? > > cvs diff -r 1.4 wsp_headers.c (in directory D:\dev\gateway\wap\) > Index: wsp_headers.c > =================================================================== > RCS file: /home/cvs/gateway/wap/wsp_headers.c,v > retrieving revision 1.4 > retrieving revision 1.5 > diff -r1.4 -r1.5 > 2848a2849 > > octstr_append_char(packed, 0X01); > > What exactly does the 0x01 value represent here ?
we discovered this while figuring out why MMS notifications haven't been working when using PPG to send the content. This push WSP headers must have the Content-type header as the first byte in the headers group. The 0x01 means "the length of the Content-type header", so 1 bytes follows. And then the encoding of the WSP cotent-type itself. [EMAIL PROTECTED] ------------------------------------------------------------------- Wapme Systems AG Vogelsanger Weg 80 40470 Düsseldorf Tel: +49-211-74845-0 Fax: +49-211-74845-299 E-Mail: [EMAIL PROTECTED] Internet: http://www.wapme-systems.de ------------------------------------------------------------------- wapme.net - wherever you are