2011-12-11, 16:51
Hi,
I am trying to retrieve the following url
http://videomasti.net//?p=747
and Here is the response I get inside xbmc
When I try to retrieve the same page using python 2.6 or firefox it redirects me to a new location. How do I get the url to this new location inside the addon. Firebug shows the first url returns HTTP 301 permanently moved. But I am getting HTTP 200 inside xbmc addon.
I am trying to retrieve the following url
http://videomasti.net//?p=747
and Here is the response I get inside xbmc
Code:
VideoMasti:Response info Date: Sun, 11 Dec 2011 14:46:27 GMT
Server: Apache/2.0.63 (Unix) mod_ssl/2.0.63 OpenSSL/0.9.8e-fips-rhel5 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635
Last-Modified: Tue, 26 Oct 2010 18:14:40 GMT
ETag: "1d096c-6f-150fc400"
Accept-Ranges: bytes
Content-Length: 111
Connection: close
Content-Type: text/html
09:46:31 T:2885622592 M:1817513984 NOTICE: link is <html><head><META HTTP-EQUIV="refresh" CONTENT="0;URL=/cgi-sys/defaultwebpage.cgi"></head><body></body></html>
When I try to retrieve the same page using python 2.6 or firefox it redirects me to a new location. How do I get the url to this new location inside the addon. Firebug shows the first url returns HTTP 301 permanently moved. But I am getting HTTP 200 inside xbmc addon.