ExtensionsLst.pm (c0f6b924) ExtensionsLst.pm (983f6de1)
1#**************************************************************
2#
3# Licensed to the Apache Software Foundation (ASF) under one
4# or more contributor license agreements. See the NOTICE file
5# distributed with this work for additional information
6# regarding copyright ownership. The ASF licenses this file
7# to you under the Apache License, Version 2.0 (the
8# "License"); you may not use this file except in compliance

--- 469 unchanged lines hidden (view full) ---

478
479 # Download the extension.
480 my $agent = LWP::UserAgent->new();
481 $agent->timeout(120);
482 $agent->env_proxy;
483 my $last_was_redirect = 0;
484 my $response = $agent->get($URL);
485
1#**************************************************************
2#
3# Licensed to the Apache Software Foundation (ASF) under one
4# or more contributor license agreements. See the NOTICE file
5# distributed with this work for additional information
6# regarding copyright ownership. The ASF licenses this file
7# to you under the Apache License, Version 2.0 (the
8# "License"); you may not use this file except in compliance

--- 469 unchanged lines hidden (view full) ---

478
479 # Download the extension.
480 my $agent = LWP::UserAgent->new();
481 $agent->timeout(120);
482 $agent->env_proxy;
483 my $last_was_redirect = 0;
484 my $response = $agent->get($URL);
485
486 # When download was successfull then check the md5 checksum and rename the .part file
486 # When download was successful then check the md5 checksum and rename the .part file
487 # into the actual extension name.
488 if ($response->is_success())
489 {
490 my $content = $response->content;
491 open $out, ">$temporary_filename";
492 binmode($out);
493 print $out $content;
494 $md5->add($content);

--- 111 unchanged lines hidden ---
487 # into the actual extension name.
488 if ($response->is_success())
489 {
490 my $content = $response->content;
491 open $out, ">$temporary_filename";
492 binmode($out);
493 print $out $content;
494 $md5->add($content);

--- 111 unchanged lines hidden ---