curl-library
Re:curl-library Digest, Vol 84, Issue 16
Date: Thu, 9 Aug 2012 19:07:48 +0800 (CST)
Hi , Daniel StenbergThanks for your reply!Below is the http request of the VLC player:GET / HTTP/1.1
Host: iptv.tjurk.com:5953
User-Agent: VLC/2.0.3 LibVLC/2.0.3
Range: bytes=0-                               // my app have no this request
Connection: close                          // my app have no this request                  
Authorization: Basic c3BvcjU6MjIyNA==
Icy-MetaData: 1          // my app have no this request, I don't know how to      add this http request
HTTP/1.1 200 OK
Server: nginx
Date: Thu, 09 Aug 2012 10:53:59 GMT
Content-Type: application/octet-stream
Transfer-Encoding: chunked
Connection: close
Cache-Control: no-cache
--------------------------------------And the following is my app's http requests and server responses:* About to connect() to iptv.tjurk.com port 5953 (#0)
*   Trying 188.165.228.55... * Connected to iptv.tjurk.com (188.165.228.55) port 5953 (#0)
* Server auth using Basic with user 'spor5'
> GET / HTTP/1.1
 
Authorization: Basic c3BvcjU6MjIyNA==
 
User-Agent: HbbTV1.1.1(;;;;;); CE-HTML; SPARK
 
Host: iptv.tjurk.com:5953
 
Accept: */*
 
 
 
< HTTP/1.1 200 OK
 
< Server: nginx
 
< Date: Thu, 09 Aug 2012 10:36:57 GMT
 
< Content-Type: application/octet-stream
 
< Transfer-Encoding: chunked
 
< Connection: keep-alive
 
< Keep-Alive: timeout=2
 
< Cache-Control: no-cache
 
<
 
* Closing connection #0
* About to connect() to iptv.tjurk.com port 5953 (#0)
*   Trying 188.165.228.55... * Connected to iptv.tjurk.com (188.165.228.55) port 5953 (#0)
* Server auth using Basic with user 'spor5'
> GET / HTTP/1.1
 
Authorization: Basic c3BvcjU6MjIyNA==
 
Range: bytes=0-
 
User-Agent: HbbTV1.1.1(;;;;;); CE-HTML; SPARK
 
Host: iptv.tjurk.com:5953
 
Accept: */*
 
transferMode.dlna.org: Interactive
 
< HTTP/1.1 200 OK
 
< Server: nginx
 
< Date: Thu, 09 Aug 2012 10:36:58 GMT
 
< Content-Type: application/octet-stream
 
< Transfer-Encoding: chunked
 
< Connection: keep-alive
 
< Keep-Alive: timeout=2
 
< Cache-Control: no-cache
 
<
 
* About to connect() to iptv.tjurk.com port 5953 (#0)
*   Trying 188.165.228.55...
* Connected to iptv.tjurk.com (188.165.228.55) port 5953 (#0)
* Server auth using Basic with user 'spor5'
> GET / HTTP/1.1
 
Authorization: Basic c3BvcjU6MjIyNA==
 
User-Agent: HbbTV1.1.1(;;;;;); CE-HTML; SPARK
 
Host: iptv.tjurk.com:5953
 
Accept: */*
< HTTP/1.1 503 Service Temporarily Unavailable
 
< Server: nginx
 
< Date: Thu, 09 Aug 2012 10:37:02 GMT
 
< Content-Type: text/html
 
< Content-Length: 383
 
  383
 
 File Length extracted from Content Length : 383
< Connection: keep-alive
 
< Keep-Alive: timeout=2
 
<
* Closing connection #0
* About to connect() to iptv.tjurk.com port 5953 (#0)
*   Trying 188.165.228.55...
* Connected to iptv.tjurk.com (188.165.228.55) port 5953 (#0)
* Server auth using Basic with user 'spor5'
> GET / HTTP/1.1
 
Authorization: Basic c3BvcjU6MjIyNA==
 
User-Agent: HbbTV1.1.1(;;;;;); CE-HTML; SPARK
 
Host: iptv.tjurk.com:5953
 
Accept: */*
 
< HTTP/1.1 503 Service Temporarily Unavailable
 
< Server: nginx
 
< Date: Thu, 09 Aug 2012 10:37:03 GMT
 
< Content-Type: text/html
 
< Content-Length: 383
 
  383
 
 File Length extracted from Content Length : 383
< Connection: keep-alive
 
< Keep-Alive: timeout=2
 
<
* Closing connection #0
 
* Closing connection #0
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2012-08-09