Sha256: a7988ba25de4cf9c062fb7dace8be433db0d1400e2cd762ae16b3de4202d470e
Contents?: true
Size: 425 Bytes
Versions: 5
Compression:
Stored size: 425 Bytes
Contents
package URI::http; use strict; use warnings; our $VERSION = '5.17'; 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;
Version data entries
5 entries across 5 versions & 1 rubygems