kasei / perlrdf

Deprecated in favor of the Attean package
26 stars 25 forks source link

Fix handling of gzip-encoded content #158

Open robrwo opened 6 years ago

robrwo commented 6 years ago

For example, http://schema.org/version/3.3/schema.rdf is gzip encoded. This is fixed simply by using the LWP::UserAgent decoded_content method instead of the (raw) content method.

robrwo commented 6 years ago

It looks like this might be complicated than I thought. Ideally it should be letting HTTP::Message etc. do the decoding.