Server IP : 68.65.122.142  /  Your IP : 3.138.134.114
Web Server : LiteSpeed
System : Linux server167.web-hosting.com 4.18.0-513.18.1.lve.el8.x86_64 #1 SMP Thu Feb 22 12:55:50 UTC 2024 x86_64
User : glenirhm ( 1318)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0755) :  /usr/share/locale/scn/../ms/../hit/../afh/../ch/../tig/../mr/../kl/../chn/../egy/../io/../bad/../ja/../tyv/../st/../km/../gos/../phi/../sq_AL/../war/../arw/../arw/../te/../en_CZ/../cs/../os/../af_ZA/../shn/../../perl5/URI/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : //usr/share/locale/scn/../ms/../hit/../afh/../ch/../tig/../mr/../kl/../chn/../egy/../io/../bad/../ja/../tyv/../st/../km/../gos/../phi/../sq_AL/../war/../arw/../arw/../te/../en_CZ/../cs/../os/../af_ZA/../shn/../../perl5/URI/http.pm
package URI::http;

use strict;
use warnings;

our $VERSION = '1.73';
$VERSION = eval $VERSION;

use parent 'URI::_server';

sub default_port { 80 }

sub canonical
{
    my $self = shift;
    my $other = $self->SUPER::canonical;

    my $slash_path = defined($other->authority) &&
        !length($other->path) && !defined($other->query);

    if ($slash_path) {
	$other = $other->clone if $other == $self;
	$other->path("/");
    }
    $other;
}

1;