Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
turn all RFC references into links
  • Loading branch information
kraih committed Jan 11, 2014
1 parent 205bfd7 commit d709ad1
Show file tree
Hide file tree
Showing 18 changed files with 54 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
RFC 2616.
L<RFC 2616|http://tools.ietf.org/search/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 RFC 2616.
described in L<RFC 2616|http://tools.ietf.org/search/rfc2616>.
=head1 EVENTS
Expand Down
4 changes: 2 additions & 2 deletions lib/Mojo/Content/Single.pm
Expand Up @@ -69,8 +69,8 @@ Mojo::Content::Single - HTTP content
=head1 DESCRIPTION
L<Mojo::Content::Single> is a container for HTTP content as described in RFC
2616.
L<Mojo::Content::Single> is a container for HTTP content as described in
L<RFC 2616|http://tools.ietf.org/search/rfc2616>.
=head1 EVENTS
Expand Down
4 changes: 2 additions & 2 deletions lib/Mojo/Cookie.pm
Expand Up @@ -27,8 +27,8 @@ Mojo::Cookie - HTTP cookie base class
=head1 DESCRIPTION
L<Mojo::Cookie> is an abstract base class for HTTP cookies as described in RFC
6265.
L<Mojo::Cookie> is an abstract base class for HTTP cookies as described in
L<RFC 6265|http://tools.ietf.org/search/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 RFC 6265.
in L<RFC 6265|http://tools.ietf.org/search/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 RFC 6265.
described in L<RFC 6265|http://tools.ietf.org/search/rfc6265>.
=head1 ATTRIBUTES
Expand Down
4 changes: 2 additions & 2 deletions lib/Mojo/Date.pm
Expand Up @@ -77,8 +77,8 @@ Mojo::Date - HTTP date
=head1 DESCRIPTION
L<Mojo::Date> implements HTTP date and time functions as described in RFC
2616.
L<Mojo::Date> implements HTTP date and time functions as described in
L<RFC 2616|http://tools.ietf.org/search/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
38 changes: 25 additions & 13 deletions lib/Mojo/Headers.pm
Expand Up @@ -180,7 +180,8 @@ Mojo::Headers - Headers
=head1 DESCRIPTION
L<Mojo::Headers> is a container for HTTP headers as described in RFC 2616.
L<Mojo::Headers> is a container for HTTP headers as described in
L<RFC 2616|http://tools.ietf.org/search/rfc2616>.
=head1 ATTRIBUTES
Expand Down Expand Up @@ -332,7 +333,8 @@ Shortcut for the C<Content-Type> header.
my $cookie = $headers->cookie;
$headers = $headers->cookie('f=b');
Shortcut for the C<Cookie> header from RFC 6265.
Shortcut for the C<Cookie> header from
L<RFC 6265|http://tools.ietf.org/search/rfc6265>.
=head2 date
Expand Down Expand Up @@ -439,7 +441,8 @@ Get leftover data from header parser.
my $link = $headers->link;
$headers = $headers->link('<http://127.0.0.1/foo/3>; rel="next"');
Shortcut for the C<Link> header from RFC 5988.
Shortcut for the C<Link> header from
L<RFC 5988|http://tools.ietf.org/search/rfc5988>.
=head2 location
Expand All @@ -462,7 +465,8 @@ Return a list of all currently defined headers.
my $origin = $headers->origin;
$headers = $headers->origin('http://example.com');
Shortcut for the C<Origin> header from RFC 6454.
Shortcut for the C<Origin> header from
L<RFC 6454|http://tools.ietf.org/search/rfc6454>.
=head2 parse
Expand Down Expand Up @@ -496,8 +500,9 @@ Shortcut for the C<Range> header.
my $referrer = $headers->referrer;
$headers = $headers->referrer('http://example.com');
Shortcut for the C<Referer> header, there was a typo in RFC 2068 which
resulted in C<Referer> becoming an official header.
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>
becoming an official header.
=head2 remove
Expand All @@ -510,35 +515,40 @@ Remove a header.
my $accept = $headers->sec_websocket_accept;
$headers = $headers->sec_websocket_accept('s3pPLMBiTxaQ9kYGzzhZRbK+xOo=');
Shortcut for the C<Sec-WebSocket-Accept> header from RFC 6455.
Shortcut for the C<Sec-WebSocket-Accept> header from
L<RFC 6455|http://tools.ietf.org/search/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 RFC 6455.
Shortcut for the C<Sec-WebSocket-Extensions> header from
L<RFC 6455|http://tools.ietf.org/search/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 RFC 6455.
Shortcut for the C<Sec-WebSocket-Key> header from
L<RFC 6455|http://tools.ietf.org/search/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 RFC 6455.
Shortcut for the C<Sec-WebSocket-Protocol> header from
L<RFC 6455|http://tools.ietf.org/search/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 RFC 6455.
Shortcut for the C<Sec-WebSocket-Version> header from
L<RFC 6455|http://tools.ietf.org/search/rfc6455>.
=head2 server
Expand All @@ -552,14 +562,16 @@ Shortcut for the C<Server> header.
my $cookie = $headers->set_cookie;
$headers = $headers->set_cookie('f=b; path=/');
Shortcut for the C<Set-Cookie> header from RFC 6265.
Shortcut for the C<Set-Cookie> header from
L<RFC 6265|http://tools.ietf.org/search/rfc6265>.
=head2 status
my $status = $headers->status;
$headers = $headers->status('200 OK');
Shortcut for the C<Status> header from RFC 3875.
Shortcut for the C<Status> header from
L<RFC 3875|http://tools.ietf.org/search/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 RFC 4627.
implementation of L<RFC 4627|http://tools.ietf.org/search/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
3 changes: 2 additions & 1 deletion lib/Mojo/JSON/Pointer.pm
Expand Up @@ -47,7 +47,8 @@ Mojo::JSON::Pointer - JSON Pointers
=head1 DESCRIPTION
L<Mojo::JSON::Pointer> is a relaxed implementation of RFC 6901.
L<Mojo::JSON::Pointer> is a relaxed implementation of
L<RFC 6901|http://tools.ietf.org/search/rfc6901>.
=head1 METHODS
Expand Down
3 changes: 2 additions & 1 deletion lib/Mojo/Message.pm
Expand Up @@ -316,7 +316,8 @@ Mojo::Message - HTTP message base class
=head1 DESCRIPTION
L<Mojo::Message> is an abstract base class for HTTP messages as described in
RFC 2616 and RFC 2388.
L<RFC 2616|http://tools.ietf.org/search/rfc2616> and
L<RFC 2388|http://tools.ietf.org/search/rfc2388>.
=head1 EVENTS
Expand Down
5 changes: 3 additions & 2 deletions lib/Mojo/Message/Request.pm
Expand Up @@ -288,8 +288,9 @@ Mojo::Message::Request - HTTP request
=head1 DESCRIPTION
L<Mojo::Message::Request> is a container for HTTP requests as described in RFC
2616 and RFC 2817.
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>.
=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
RFC 2616.
L<RFC 2616|http://tools.ietf.org/search/rfc2616>.
=head1 EVENTS
Expand Down
3 changes: 2 additions & 1 deletion lib/Mojo/Server/CGI.pm
Expand Up @@ -99,7 +99,8 @@ Mojo::Server::CGI - CGI server
=head1 DESCRIPTION
L<Mojo::Server::CGI> is a simple and portable implementation of RFC 3875.
L<Mojo::Server::CGI> is a simple and portable implementation of
L<RFC 3875|http://tools.ietf.org/search/rfc3875>.
See L<Mojolicious::Guides::Cookbook> 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 RFC 2616.
in L<RFC 2616|http://tools.ietf.org/search/rfc2616>.
=head1 EVENTS
Expand Down
4 changes: 2 additions & 2 deletions lib/Mojo/Transaction/WebSocket.pm
Expand Up @@ -362,8 +362,8 @@ Mojo::Transaction::WebSocket - WebSocket transaction
=head1 DESCRIPTION
L<Mojo::Transaction::WebSocket> is a container for WebSocket transactions as
described in RFC 6455. Note that 64bit frames require a Perl with support for
quads or they are limited to 32bit.
described in L<RFC 6455|http://tools.ietf.org/search/rfc6455>. Note that 64bit
frames require a Perl with support for quads or they are limited to 32bit.
=head1 EVENTS
Expand Down
6 changes: 4 additions & 2 deletions lib/Mojo/URL.pm
Expand Up @@ -248,8 +248,10 @@ Mojo::URL - Uniform Resource Locator
=head1 DESCRIPTION
L<Mojo::URL> implements a subset of RFC 3986 and RFC 3987 for Uniform
Resource Locators with support for IDNA and IRIs.
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
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 RFC 6265 for L<Mojo::UserAgent>.
on L<RFC 6265|http://tools.ietf.org/search/rfc6265> for L<Mojo::UserAgent>.
=head1 ATTRIBUTES
Expand Down

0 comments on commit d709ad1

Please sign in to comment.