Search the web
Sign In
New User? Sign Up
www-talk
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Message search is now enhanced, find messages faster. Take it for a spin.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Content-Length in multipart/related   Message List  
Reply | Forward Message #11307 of 11330 |
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




Fri Jan 12, 2001 12:47 pm

Luca_Di_Luzio-ALD001@...
Send Email Send Email

Forward
Message #11307 of 11330 |
Expand Messages Author Sort by Date

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...
Luca Di Luzio
Luca_Di_Luzio-ALD001@...
Send Email
Jan 13, 2001
12:41 am

... Hi. :) ... Yes. ... Yes. ... The content of an HTTP message can be anything you want. Anything. But the Content-Length header MUST specify the exact length...
Fish
fish@...
Send Email
Jan 15, 2001
12:29 am
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help