Skip to content

Commit

Permalink
better RFC links
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Jan 22, 2014
1 parent 98e6dd0 commit 130f717
Show file tree
Hide file tree
Showing 19 changed files with 36 additions and 36 deletions.
2 changes: 1 addition & 1 deletion lib/Mojo/Content.pm
Expand Up @@ -324,7 +324,7 @@ Mojo::Content - HTTP content base class
=head1 DESCRIPTION
L<Mojo::Content> is an abstract base class for HTTP content as described in
L<RFC 2616|http://tools.ietf.org/search/rfc2616>.
L<RFC 2616|http://tools.ietf.org/html/rfc2616>.
=head1 EVENTS
Expand Down
2 changes: 1 addition & 1 deletion lib/Mojo/Content/MultiPart.pm
Expand Up @@ -216,7 +216,7 @@ Mojo::Content::MultiPart - HTTP multipart content
=head1 DESCRIPTION
L<Mojo::Content::MultiPart> is a container for HTTP multipart content as
described in L<RFC 2616|http://tools.ietf.org/search/rfc2616>.
described in L<RFC 2616|http://tools.ietf.org/html/rfc2616>.
=head1 EVENTS
Expand Down
2 changes: 1 addition & 1 deletion lib/Mojo/Content/Single.pm
Expand Up @@ -70,7 +70,7 @@ Mojo::Content::Single - HTTP content
=head1 DESCRIPTION
L<Mojo::Content::Single> is a container for HTTP content as described in
L<RFC 2616|http://tools.ietf.org/search/rfc2616>.
L<RFC 2616|http://tools.ietf.org/html/rfc2616>.
=head1 EVENTS
Expand Down
2 changes: 1 addition & 1 deletion lib/Mojo/Cookie.pm
Expand Up @@ -28,7 +28,7 @@ Mojo::Cookie - HTTP cookie base class
=head1 DESCRIPTION
L<Mojo::Cookie> is an abstract base class for HTTP cookies as described in
L<RFC 6265|http://tools.ietf.org/search/rfc6265>.
L<RFC 6265|http://tools.ietf.org/html/rfc6265>.
=head1 ATTRIBUTES
Expand Down
2 changes: 1 addition & 1 deletion lib/Mojo/Cookie/Request.pm
Expand Up @@ -44,7 +44,7 @@ Mojo::Cookie::Request - HTTP request cookie
=head1 DESCRIPTION
L<Mojo::Cookie::Request> is a container for HTTP request cookies as described
in L<RFC 6265|http://tools.ietf.org/search/rfc6265>.
in L<RFC 6265|http://tools.ietf.org/html/rfc6265>.
=head1 ATTRIBUTES
Expand Down
2 changes: 1 addition & 1 deletion lib/Mojo/Cookie/Response.pm
Expand Up @@ -100,7 +100,7 @@ Mojo::Cookie::Response - HTTP response cookie
=head1 DESCRIPTION
L<Mojo::Cookie::Response> is a container for HTTP response cookies as
described in L<RFC 6265|http://tools.ietf.org/search/rfc6265>.
described in L<RFC 6265|http://tools.ietf.org/html/rfc6265>.
=head1 ATTRIBUTES
Expand Down
2 changes: 1 addition & 1 deletion lib/Mojo/Date.pm
Expand Up @@ -78,7 +78,7 @@ Mojo::Date - HTTP date
=head1 DESCRIPTION
L<Mojo::Date> implements HTTP date and time functions as described in
L<RFC 2616|http://tools.ietf.org/search/rfc2616>.
L<RFC 2616|http://tools.ietf.org/html/rfc2616>.
Sun, 06 Nov 1994 08:49:37 GMT ; RFC 822, updated by RFC 1123
Sunday, 06-Nov-94 08:49:37 GMT ; RFC 850, obsoleted by RFC 1036
Expand Down
24 changes: 12 additions & 12 deletions lib/Mojo/Headers.pm
Expand Up @@ -181,7 +181,7 @@ Mojo::Headers - Headers
=head1 DESCRIPTION
L<Mojo::Headers> is a container for HTTP headers as described in
L<RFC 2616|http://tools.ietf.org/search/rfc2616>.
L<RFC 2616|http://tools.ietf.org/html/rfc2616>.
=head1 ATTRIBUTES
Expand Down Expand Up @@ -334,7 +334,7 @@ Shortcut for the C<Content-Type> header.
$headers = $headers->cookie('f=b');
Shortcut for the C<Cookie> header from
L<RFC 6265|http://tools.ietf.org/search/rfc6265>.
L<RFC 6265|http://tools.ietf.org/html/rfc6265>.
=head2 date
Expand Down Expand Up @@ -442,7 +442,7 @@ Get leftover data from header parser.
$headers = $headers->link('<http://127.0.0.1/foo/3>; rel="next"');
Shortcut for the C<Link> header from
L<RFC 5988|http://tools.ietf.org/search/rfc5988>.
L<RFC 5988|http://tools.ietf.org/html/rfc5988>.
=head2 location
Expand All @@ -466,7 +466,7 @@ Return a list of all currently defined headers.
$headers = $headers->origin('http://example.com');
Shortcut for the C<Origin> header from
L<RFC 6454|http://tools.ietf.org/search/rfc6454>.
L<RFC 6454|http://tools.ietf.org/html/rfc6454>.
=head2 parse
Expand Down Expand Up @@ -501,7 +501,7 @@ Shortcut for the C<Range> header.
$headers = $headers->referrer('http://example.com');
Shortcut for the C<Referer> header, there was a typo in
L<RFC 2068|http://tools.ietf.org/search/rfc2068> which resulted in C<Referer>
L<RFC 2068|http://tools.ietf.org/html/rfc2068> which resulted in C<Referer>
becoming an official header.
=head2 remove
Expand All @@ -516,39 +516,39 @@ Remove a header.
$headers = $headers->sec_websocket_accept('s3pPLMBiTxaQ9kYGzzhZRbK+xOo=');
Shortcut for the C<Sec-WebSocket-Accept> header from
L<RFC 6455|http://tools.ietf.org/search/rfc6455>.
L<RFC 6455|http://tools.ietf.org/html/rfc6455>.
=head2 sec_websocket_extensions
my $extensions = $headers->sec_websocket_extensions;
$headers = $headers->sec_websocket_extensions('foo');
Shortcut for the C<Sec-WebSocket-Extensions> header from
L<RFC 6455|http://tools.ietf.org/search/rfc6455>.
L<RFC 6455|http://tools.ietf.org/html/rfc6455>.
=head2 sec_websocket_key
my $key = $headers->sec_websocket_key;
$headers = $headers->sec_websocket_key('dGhlIHNhbXBsZSBub25jZQ==');
Shortcut for the C<Sec-WebSocket-Key> header from
L<RFC 6455|http://tools.ietf.org/search/rfc6455>.
L<RFC 6455|http://tools.ietf.org/html/rfc6455>.
=head2 sec_websocket_protocol
my $proto = $headers->sec_websocket_protocol;
$headers = $headers->sec_websocket_protocol('sample');
Shortcut for the C<Sec-WebSocket-Protocol> header from
L<RFC 6455|http://tools.ietf.org/search/rfc6455>.
L<RFC 6455|http://tools.ietf.org/html/rfc6455>.
=head2 sec_websocket_version
my $version = $headers->sec_websocket_version;
$headers = $headers->sec_websocket_version(13);
Shortcut for the C<Sec-WebSocket-Version> header from
L<RFC 6455|http://tools.ietf.org/search/rfc6455>.
L<RFC 6455|http://tools.ietf.org/html/rfc6455>.
=head2 server
Expand All @@ -563,15 +563,15 @@ Shortcut for the C<Server> header.
$headers = $headers->set_cookie('f=b; path=/');
Shortcut for the C<Set-Cookie> header from
L<RFC 6265|http://tools.ietf.org/search/rfc6265>.
L<RFC 6265|http://tools.ietf.org/html/rfc6265>.
=head2 status
my $status = $headers->status;
$headers = $headers->status('200 OK');
Shortcut for the C<Status> header from
L<RFC 3875|http://tools.ietf.org/search/rfc3875>.
L<RFC 3875|http://tools.ietf.org/html/rfc3875>.
=head2 te
Expand Down
2 changes: 1 addition & 1 deletion lib/Mojo/JSON.pm
Expand Up @@ -346,7 +346,7 @@ Mojo::JSON - Minimalistic JSON
=head1 DESCRIPTION
L<Mojo::JSON> is a minimalistic and possibly the fastest pure-Perl
implementation of L<RFC 4627|http://tools.ietf.org/search/rfc4627>.
implementation of L<RFC 4627|http://tools.ietf.org/html/rfc4627>.
It supports normal Perl data types like C<Scalar>, C<Array> reference, C<Hash>
reference and will try to call the C<TO_JSON> method on blessed references, or
Expand Down
2 changes: 1 addition & 1 deletion lib/Mojo/JSON/Pointer.pm
Expand Up @@ -48,7 +48,7 @@ Mojo::JSON::Pointer - JSON Pointers
=head1 DESCRIPTION
L<Mojo::JSON::Pointer> is a relaxed implementation of
L<RFC 6901|http://tools.ietf.org/search/rfc6901>.
L<RFC 6901|http://tools.ietf.org/html/rfc6901>.
=head1 METHODS
Expand Down
4 changes: 2 additions & 2 deletions lib/Mojo/Message.pm
Expand Up @@ -316,8 +316,8 @@ Mojo::Message - HTTP message base class
=head1 DESCRIPTION
L<Mojo::Message> is an abstract base class for HTTP messages as described in
L<RFC 2616|http://tools.ietf.org/search/rfc2616> and
L<RFC 2388|http://tools.ietf.org/search/rfc2388>.
L<RFC 2616|http://tools.ietf.org/html/rfc2616> and
L<RFC 2388|http://tools.ietf.org/html/rfc2388>.
=head1 EVENTS
Expand Down
4 changes: 2 additions & 2 deletions lib/Mojo/Message/Request.pm
Expand Up @@ -289,8 +289,8 @@ Mojo::Message::Request - HTTP request
=head1 DESCRIPTION
L<Mojo::Message::Request> is a container for HTTP requests as described in
L<RFC 2616|http://tools.ietf.org/search/rfc2616> and
L<RFC 2817|http://tools.ietf.org/search/rfc2817>.
L<RFC 2616|http://tools.ietf.org/html/rfc2616> and
L<RFC 2817|http://tools.ietf.org/html/rfc2817>.
=head1 EVENTS
Expand Down
2 changes: 1 addition & 1 deletion lib/Mojo/Message/Response.pm
Expand Up @@ -170,7 +170,7 @@ Mojo::Message::Response - HTTP response
=head1 DESCRIPTION
L<Mojo::Message::Response> is a container for HTTP responses as described in
L<RFC 2616|http://tools.ietf.org/search/rfc2616>.
L<RFC 2616|http://tools.ietf.org/html/rfc2616>.
=head1 EVENTS
Expand Down
2 changes: 1 addition & 1 deletion lib/Mojo/Server/CGI.pm
Expand Up @@ -100,7 +100,7 @@ Mojo::Server::CGI - CGI server
=head1 DESCRIPTION
L<Mojo::Server::CGI> is a simple and portable implementation of
L<RFC 3875|http://tools.ietf.org/search/rfc3875>.
L<RFC 3875|http://tools.ietf.org/html/rfc3875>.
See L<Mojolicious::Guides::Cookbook/"DEPLOYMENT"> for more.
Expand Down
2 changes: 1 addition & 1 deletion lib/Mojo/Transaction/HTTP.pm
Expand Up @@ -204,7 +204,7 @@ Mojo::Transaction::HTTP - HTTP transaction
=head1 DESCRIPTION
L<Mojo::Transaction::HTTP> is a container for HTTP transactions as described
in L<RFC 2616|http://tools.ietf.org/search/rfc2616>.
in L<RFC 2616|http://tools.ietf.org/html/rfc2616>.
=head1 EVENTS
Expand Down
2 changes: 1 addition & 1 deletion lib/Mojo/Transaction/WebSocket.pm
Expand Up @@ -362,7 +362,7 @@ Mojo::Transaction::WebSocket - WebSocket transaction
=head1 DESCRIPTION
L<Mojo::Transaction::WebSocket> is a container for WebSocket transactions as
described in L<RFC 6455|http://tools.ietf.org/search/rfc6455>. Note that 64bit
described in L<RFC 6455|http://tools.ietf.org/html/rfc6455>. Note that 64bit
frames require a Perl with support for quads or they are limited to 32bit.
=head1 EVENTS
Expand Down
4 changes: 2 additions & 2 deletions lib/Mojo/URL.pm
Expand Up @@ -249,8 +249,8 @@ Mojo::URL - Uniform Resource Locator
=head1 DESCRIPTION
L<Mojo::URL> implements a subset of
L<RFC 3986|http://tools.ietf.org/search/rfc3986> and
L<RFC 3987|http://tools.ietf.org/search/rfc3987> for Uniform Resource Locators
L<RFC 3986|http://tools.ietf.org/html/rfc3986> and
L<RFC 3987|http://tools.ietf.org/html/rfc3987> for Uniform Resource Locators
with support for IDNA and IRIs.
=head1 ATTRIBUTES
Expand Down
2 changes: 1 addition & 1 deletion lib/Mojo/UserAgent/CookieJar.pm
Expand Up @@ -139,7 +139,7 @@ Mojo::UserAgent::CookieJar - Cookie jar for HTTP user agents
=head1 DESCRIPTION
L<Mojo::UserAgent::CookieJar> is a minimalistic and relaxed cookie jar based
on L<RFC 6265|http://tools.ietf.org/search/rfc6265> for L<Mojo::UserAgent>.
on L<RFC 6265|http://tools.ietf.org/html/rfc6265> for L<Mojo::UserAgent>.
=head1 ATTRIBUTES
Expand Down
8 changes: 4 additions & 4 deletions lib/Mojo/Util.pm
Expand Up @@ -542,14 +542,14 @@ Monkey patch functions into package.
my $str = punycode_decode $punycode;
Punycode decode string as described in
L<RFC 3492|http://tools.ietf.org/search/rfc3492>.
L<RFC 3492|http://tools.ietf.org/html/rfc3492>.
=head2 punycode_encode
my $punycode = punycode_encode $str;
Punycode encode string as described in
L<RFC 3492|http://tools.ietf.org/search/rfc3492>.
L<RFC 3492|http://tools.ietf.org/html/rfc3492>.
=head2 quote
Expand Down Expand Up @@ -634,15 +634,15 @@ Unquote string.
my $escaped = url_escape $str, '^A-Za-z0-9\-._~';
Percent encode unsafe characters in string as described in
L<RFC 3986|http://tools.ietf.org/search/rfc3986>, the pattern used defaults to
L<RFC 3986|http://tools.ietf.org/html/rfc3986>, the pattern used defaults to
C<^A-Za-z0-9\-._~>.
=head2 url_unescape
my $str = url_unescape $escaped;
Decode percent encoded characters in string as described in
L<RFC 3986|http://tools.ietf.org/search/rfc3986>.
L<RFC 3986|http://tools.ietf.org/html/rfc3986>.
=head2 xml_escape
Expand Down

0 comments on commit 130f717

Please sign in to comment.