- From: Luca Di Luzio <Luca_Di_Luzio-ALD001@email.mot.com>
- Date: Fri, 12 Jan 2001 07:47:39 -0500 (EST)
- To: <fish@infidels.org>
- Cc: <www-talk@w3.org>
Hi Fish (and all W3C mailing list), I saw in the W3C mailing list your comment on the content-length in multipart/mixed. I think you are very expert of this argument and then I'd like to ask you how to calculate the value of the content-length in a multipart/related type. I have to send to a Wap Gateway an HTTP message where the content is a multipart/related type; so this message must contain the content-length header. This is and example: POST /cgi-bin/wap_push.cgi HTTP/1.1 Host: www.wireless-network.com Date: Sun, 16 May 1999 18:13:23 GMT Content-Type: multipart/related; boundary=asdlfkjiurwghasf; type="application/xml" Content-Length: (???????????) --asdlfkjiurwghasf Content-Type: application/xml <?xml version="1.0"?> <!DOCTYPE pap PUBLIC "-//WAPFORUM//DTD PAP 1.0//EN" "http://www.wapforum.org/DTD/pap_1.0.dtd"> <pap> ..control.. </pap> --asdlfkjiurwghasf Content-Type: text/vnd.wap.wml <?xml version="1.0"?> <!DOCTYPE WML PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml"> <wml> <card> <p>Hello world!</p> </card> </wml> --asdlfkjiurwghasf-- The rows of the boundary (called "--asdlfkjiurwghasf") are included in the content-length value? And the rows called "Content-Type: application/xml" and "Content-Type: text/vnd.wap.wml"? Thanks in advance. (and sorry for my bad English) Luca from Italy
Received on Friday, 12 January 2001 19:39:18 UTC