How to send http partial content ?

arun kumar <[email protected]> Wed, 17 Aug 2011 13:00:16 +0530 (IST)
Newsgroups gmane.linux.upnp-sdk.general
Message-ID <[email protected]>
--===============1566836091839926506==
Content-Type: multipart/alternative; boundary="0-314277669-1313566216=:47702"

--0-314277669-1313566216=:47702
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable

Hi all,=0A=0AIm developing a DLNA Media server using libupnp dll. Here my r=
equirement is to send to=A0transcoded=A0content to the Renderer, once the s=
ong or video is requested. Right now=A0I'm using PS3 for testing.=0A=0AMy p=
roblem is, at the initial stage i'm unable to find the exact transcoded fil=
e length for the requested song.I can calculate only the approximate file l=
ength. But I can have the exact file length once the transcoding process ge=
t over. i.e. with in 1 or 2 mins. so since I don't have to exact file lengt=
h initially, I need to send the response as http partial content. so I need=
 to know how to send the partial content response using the libupnp. I thin=
k these stuffs are in webserver.c. It will be really=A0helpful=A0if anybody=
 guide me.=0A=0AThanks in advance,=0AArunkumar
--0-314277669-1313566216=:47702
Content-Type: text/html; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable

<html><body><div style=3D"color:#000; background-color:#fff; font-family:ar=
ial, helvetica, sans-serif;font-size:10pt"><div style=3D"font-family: arial=
, helvetica, sans-serif; font-size: 10pt; ">Hi all,</div><div style=3D"font=
-family: arial, helvetica, sans-serif; font-size: 10pt; "><br></div><div><f=
ont class=3D"Apple-style-span" face=3D"arial, helvetica, sans-serif" size=
=3D"2">Im developing a DLNA Media server using libupnp dll. Here my require=
ment is to send to&nbsp;transcoded&nbsp;content to the Renderer, once the s=
ong or video is requested. Right now&nbsp;</font><span class=3D"Apple-style=
-span" style=3D"font-family: arial, helvetica, sans-serif; font-size: 13px;=
 ">I'm using PS3 for testing.</span></div><div><span class=3D"Apple-style-s=
pan" style=3D"font-family: arial, helvetica, sans-serif; font-size: 13px; "=
><br></span></div><div><span class=3D"Apple-style-span" style=3D"font-famil=
y: arial, helvetica, sans-serif; font-size: 13px; ">My problem is, at the i=
nitial stage i'm
 unable to find the exact transcoded file length for the requested song.I c=
an calculate only the approximate file length. But I can have the exact fil=
e length once the transcoding process get over. i.e. with in 1 or 2 mins. s=
o since I don't have to exact file length initially, I need to send the res=
ponse as http partial content. so I need to know how to send the partial co=
ntent response using the libupnp. I think these stuffs are in webserver.c. =
It will be really&nbsp;helpful&nbsp;if anybody guide me.</span></div><div><=
font class=3D"Apple-style-span" face=3D"arial, helvetica, sans-serif" size=
=3D"2"><br></font></div><div><font class=3D"Apple-style-span" face=3D"arial=
, helvetica, sans-serif" size=3D"2">Thanks in advance,</font></div><div><fo=
nt class=3D"Apple-style-span" face=3D"arial, helvetica, sans-serif" size=3D=
"2">Arunkumar</font></div><div><font class=3D"Apple-style-span" face=3D"ari=
al, helvetica, sans-serif" size=3D"2"><br></font></div><div><font class=3D"=
Apple-style-span"
 face=3D"arial, helvetica, sans-serif" size=3D"2"><br></font></div></div></=
body></html>
--0-314277669-1313566216=:47702--


--===============1566836091839926506==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

------------------------------------------------------------------------------
Get a FREE DOWNLOAD! and learn more about uberSVN rich system, 
user administration capabilities and model configuration. Take 
the hassle out of deploying and managing Subversion and the 
tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2
--===============1566836091839926506==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
UPnP-SDK-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/upnp-sdk-discuss

--===============1566836091839926506==--