Help Urgent Encoding

Help Urgent Encoding SearchSearch
Author Message
Nitin Gupta
Unregistered guest
Posted on Thursday, January 29, 2004 - 10:50 am:   

When i am encoding X-Mms-MM-Flag field in M-Mbox-store.req, it is written in the OMA-MMS-Enc-v1 that this field may appear multiple times does it mean i need to send MMS-field-name and MMS value each time.

Thanks in Adavance.
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 1768
Registered: 10-2002
Posted on Friday, January 30, 2004 - 04:46 pm:   

My interpretation is that the field may appear multiple times.

My interpretation of "field" is a "field name" and "field value" pair.

So this would suggest that you need to send the field name and field value combination for each instance.

This is consistent with the way that other "list values" headers are encoded in WAP WSP, and MMS Encapsulation encoding uses the principles of WSP enocding. (For example, in HTTP, the "Accept:" header can contain a comma delimited list of values. When encoded in WSP, you encode each of the values as an "Accept: content-type" pair, sending the field name and field value pair multiple times for multiple values.)