Skip to content

Commit

Permalink
Use Fetch::LWP specifically for gzip encoded response
Browse files Browse the repository at this point in the history
Because the current SWI-Prolog web server only responds with
"Content-Encoding: gzip" even when trying to request with
"Accept-Encoding: identity". The server will not work with HTTP::Tiny.
  • Loading branch information
zmughal committed Aug 17, 2023
1 parent 9ac75b6 commit 083f9b3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions alienfile
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ share {
# https://www.swi-prolog.org/download/stable/src/
# https://www.swi-prolog.org/download/devel/src/
start_url "https://www.swi-prolog.org/download/$release_type/src/";
plugin 'Fetch::LWP';
plugin Download => (
version => qr/swipl-([\d\.]+)\.tar\.gz/,
);
Expand Down

0 comments on commit 083f9b3

Please sign in to comment.