File tree Expand file tree Collapse file tree 4 files changed +26
-1
lines changed Expand file tree Collapse file tree 4 files changed +26
-1
lines changed Original file line number Diff line number Diff line change 11Revision history for URI
22
33{{$NEXT}}
4+ - added URI::nntps (GH#82)
45
565.07 2021-01-29 22:52:20Z
67 - s/perl.com/example.com/ in examples and tests (GH#81) (Olaf Alders)
Original file line number Diff line number Diff line change @@ -926,6 +926,10 @@ access the path: $uri->group and $uri->message.
926926
927927See I<news > scheme.
928928
929+ =item B<nntps > :
930+
931+ See I<news > scheme.
932+
929933=item B<pop > :
930934
931935The I<pop > URI scheme is specified in RFC 2384. The scheme is used to
Original file line number Diff line number Diff line change 1+ package URI::nntps ;
2+
3+ use strict;
4+ use warnings;
5+
6+ our $VERSION = ' 5.08' ;
7+
8+ use parent ' URI::nntp' ;
9+
10+ sub default_port { 563 }
11+
12+ sub secure { 1 }
13+
14+ 1;
Original file line number Diff line number Diff line change 11use strict;
22use warnings;
33
4- print " 1..7 \n " ;
4+ print " 1..8 \n " ;
55
66use URI ();
77
@@ -49,3 +49,9 @@ print "not " unless $u->group eq "no.perl" &&
4949 $u -> port == 563;
5050print " ok 7\n " ;
5151
52+ $u = URI-> new(" nntps://nntps.online.no/no.perl" );
53+
54+ print " not " unless $u -> group eq " no.perl" &&
55+ $u -> host eq " nntps.online.no" &&
56+ $u -> port == 563;
57+ print " ok 8\n " ;
You can’t perform that action at this time.
0 commit comments