cURL / Mailing Lists / curl-library / Single Mail

curl-library

the linux and android diff ??

From: shili <belle.shi_at_yy-inc.com>
Date: Wed, 22 Aug 2012 18:51:25 +0800

hi all:
    i wrote a program and to get the head info of the url
"http://tudouflv.dnion.com/f4v/56/149795256.h264_1.f4v?key=305fee3954fae31e7c37525034ad7900401a6e85fc&tk=142762942718775576250790215&brt=2&nt=0&du=3559680&ispid=205&rc=200&inf=1&si=un&npc=1391&pp=0&ul=0&mt=-1&sid=0&rst=0&au=0&id=tudou&itemid=109091886

after compiled it and executed it on the linux it runs ok, but the same
code, i runs it on android,the curl_easy_perform return 7,the head
callback returns nothing, is there any one knows the reason?

ps:the url only can use for a while, but i execute the code on diff
platform at the same time, the linux is ok, the android is wrong

and the curl on linux return:
HTTP/1.1 302 Object Moved
Server: rhsvr(dnion)/2.03
Connection: close
Location:
http://58.252.186.9/7/tudouflv.dnion.com/f4v/56/149795256.h264_1.f4v?key=305fee3954fae31e7c37525034ad7900401a6e85fc&tk=142762942718775576250790215&brt=2&nt=0&du=3559680&ispid=205&rc=200&inf=1&si=un&npc=1391&pp=0&ul=0&mt=-1&sid=0&rid=0&rst=0&au=0&id=tudou&itemid=109091886
Content-Length: 0

HTTP/1.1 200 OK
Content-Type: application/octet-stream
Accept-Ranges: bytes
ETag: "4027537076"
Last-Modified: Fri, 17 Aug 2012 16:58:14 GMT
Content-Length: 238725089
Date: Wed, 22 Aug 2012 10:11:31 GMT
Server: dnion-svr

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2012-08-22