RE: WAP Push Message format, CR/LF required?
"Paul Keogh" <[email protected]>
| Newsgroups | gmane.comp.mobile.kannel.devel |
|---|---|
| Message-ID | <[email protected]> |
> I have an application that generates WAP Push messages in > Unix file format (i. e. no carriage returns, just line > feeds). The Kannel parsing functions in wap_push_pap_mime.c > seem to insist on hard-coded carriage returns. > > Is there some standard supporting this insistence, or is the > Kannel code just overly rigid? > Yes, the MIME standard which uses canonical CR-LF sequences to delimit lines. The Push Access Protocol beween your application and the PPG uses MIME encoding. See the relevant OMA specs. for details.