Explicitly omit accepted encodings:

1) wget --header='Accept-Encoding: ' 
'http://wiki.openstreetmap.org/wiki/Main_Page'

2) <?php

$streamContext = stream_context_create(array(
    'http' => array(
        'header' => 'Accept-Encoding: \r\n'
    )
));

file_get_contents('http://wiki.openstreetmap.org/wiki/Main_Page', 0, 
$streamContext);


Roland Olbricht schrieb:
>> Anyone who can solve this puzzle, so that we can download with simple
>> commands ?-)
>>     
>
> What about
> wget -O - http://wiki.openstreetmap.org/wiki/Map_Features | gunzip >file
> ?
>
> Cheers,
> Roland
>
> _______________________________________________
> dev mailing list
> dev@openstreetmap.org
> http://lists.openstreetmap.org/listinfo/dev
>
>
>   


_______________________________________________
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev

Reply via email to