Matus UHLAR - fantomas <[email protected]> writes:

> when I'm trying to fetch 
> http://www.hokej-megacamp.sk/hokej-sen/hokej.html
> using wwwoffle, I get broken content:
>
> GET http://www.hokej-megacamp.sk/hokej-sen/hokej.html HTTP/1.0
>
> HTTP/1.0 200 OK
> Date: Thu, 28 Apr 2011 17:10:23 GMT
> Server: Apache
> Last-Modified: Mon, 27 Dec 2010 14:32:01 GMT
> ETag: "2cd148-2a44-4986532f6da40"
> Accept-Ranges: bytes
> Content-Type: text/html
> Connection: close
> Proxy-Connection: close
>
> !<h<h<m<t</<m<m<m<m<m<l</<b<t<t<t<i</<t<t<t<t<a<i</</</<t<t</</<t<t<t<t<t</</<t<t</<t<a</<a</<a</<a</<a</<a</</<t</</</</</</</<t<t<t<t<i</</</<t<t<t</<t<h</<h</<b<t<t<t<p<b</</</<t<p<b</</</</<t<t<p<b</</</<t<p<b<b</</</</<t<t<p<b</</</<t<p<b</<b</</</</<t<t<p<b</</</<t<p<b</</</</<t<t<p<b</</</<t<p<b</</</</<t<t<p<b</</</<t<p<b</</</</<t<t<p<b</</</<t<p<b</</</</<t<t<p<b</</</<t<p<b</</</</<t<t<p<b</</</<t<p<b</</</</</</<t</</</</</</<d<s</<s<a</<a</<a</<a</<a</<a</</</</</Connection
>  closed by foreign host.
>
> I use debian-patched 2.9g (unpacked debian-patched 2.9f and applied diff
> manually)

When I request this page through WWWOFFLE I get the same result as
when I request it with wget.

There is something unusual about the data though, it is using 16-bits
per character and the first two bytes have the values hex values FF
and FE.

When displayed in less it looks like this:

<FF><FE><^@!^@D^@O^@C^@T^@Y^@P^@E^@ ^@H^@T^@M^@L^@ ^@P^@U^@B^@L^@I^@C^@ 
^@"^@-^@/^@/^@W^@3^@C^@/^@/^@D^@T^@D^@ ^@H^@T^@M^@L^@ ^@4^@.^@0^@1^@ 
^@T^@r^@a^@n^@s^@i

You can see that if you remove the zero bytes (shown as '^@') then you
get normal HTML.


Do you get a normal web page when you are not using WWWOFFLE and only
this strange result when you use WWWOFFLE?  What do you see when you
use wget:

wget -Y off http://www.hokej-megacamp.sk/hokej-sen/hokej.html

-- 
Andrew.
----------------------------------------------------------------------
Andrew M. Bishop                             [email protected]
                                      http://www.gedanken.demon.co.uk/

WWWOFFLE users page:
        http://www.gedanken.demon.co.uk/wwwoffle/version-2.9/user.html

Reply via email to