Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

no need to mention HTTP version everywhere

  • Loading branch information...
commit aae26ef5e059e21cc0b3ffc23601542dc13e1658 1 parent dc9f883
@kraih authored
Showing with 72 additions and 72 deletions.
  1. +3 −0  Changes
  2. +1 −1  README.pod
  3. +2 −2 lib/Mojo.pm
  4. +2 −2 lib/Mojo/Asset.pm
  5. +2 −2 lib/Mojo/Asset/File.pm
  6. +2 −2 lib/Mojo/Asset/Memory.pm
  7. +3 −3 lib/Mojo/Content.pm
  8. +2 −2 lib/Mojo/Content/MultiPart.pm
  9. +3 −3 lib/Mojo/Content/Single.pm
  10. +2 −2 lib/Mojo/Cookie.pm
  11. +2 −2 lib/Mojo/Cookie/Request.pm
  12. +2 −2 lib/Mojo/Cookie/Response.pm
  13. +3 −4 lib/Mojo/Date.pm
  14. +1 −1  lib/Mojo/Headers.pm
  15. +3 −3 lib/Mojo/Message.pm
  16. +3 −3 lib/Mojo/Message/Request.pm
  17. +3 −3 lib/Mojo/Message/Response.pm
  18. +3 −3 lib/Mojo/Server/Daemon.pm
  19. +3 −3 lib/Mojo/Server/Hypnotoad.pm
  20. +2 −2 lib/Mojo/Server/Morbo.pm
  21. +2 −2 lib/Mojo/Transaction.pm
  22. +2 −2 lib/Mojo/Transaction/HTTP.pm
  23. +3 −3 lib/Mojo/UserAgent.pm
  24. +2 −2 lib/Mojo/UserAgent/CookieJar.pm
  25. +1 −1  lib/Mojolicious.pm
  26. +1 −1  lib/Mojolicious/Command/daemon.pm
  27. +1 −1  lib/Mojolicious/Command/get.pm
  28. +1 −1  lib/Mojolicious/Commands.pm
  29. +5 −7 lib/Mojolicious/Guides.pod
  30. +4 −4 lib/Mojolicious/Guides/Cookbook.pod
  31. +1 −1  lib/Mojolicious/Lite.pm
  32. +1 −1  script/hypnotoad
  33. +1 −1  script/morbo
View
3  Changes
@@ -1,4 +1,7 @@
+3.15 2012-07-28
+ - Improved documentation.
+
3.14 2012-07-27
- Improved documentation.
View
2  README.pod
@@ -34,7 +34,7 @@ they are installed).
=item *
-Full stack HTTP 1.1 and WebSocket client/server implementation with IPv6, TLS,
+Full stack HTTP and WebSocket client/server implementation with IPv6, TLS,
IDNA, Comet (long polling), chunking and multipart support.
=item *
View
4 lib/Mojo.pm
@@ -126,8 +126,8 @@ The logging layer of your application, defaults to a L<Mojo::Log> object.
my $ua = $app->ua;
$app = $app->ua(Mojo::UserAgent->new);
-A full featured HTTP 1.1 user agent for use in your applications, defaults to
-a L<Mojo::UserAgent> object. Note that this user agent should not be used in
+A full featured HTTP user agent for use in your applications, defaults to a
+L<Mojo::UserAgent> object. Note that this user agent should not be used in
plugins, since non-blocking requests that are already in progress will
interfere with new blocking ones.
View
4 lib/Mojo/Asset.pm
@@ -21,7 +21,7 @@ sub slurp { croak 'Method "slurp" not implemented by subclass' }
=head1 NAME
-Mojo::Asset - HTTP 1.1 content storage base class
+Mojo::Asset - HTTP content storage base class
=head1 SYNOPSIS
@@ -29,7 +29,7 @@ Mojo::Asset - HTTP 1.1 content storage base class
=head1 DESCRIPTION
-L<Mojo::Asset> is an abstract base class for HTTP 1.1 content storage.
+L<Mojo::Asset> is an abstract base class for HTTP content storage.
=head1 ATTRIBUTES
View
4 lib/Mojo/Asset/File.pm
@@ -146,7 +146,7 @@ sub slurp {
=head1 NAME
-Mojo::Asset::File - File storage for HTTP 1.1 content
+Mojo::Asset::File - File storage for HTTP content
=head1 SYNOPSIS
@@ -165,7 +165,7 @@ Mojo::Asset::File - File storage for HTTP 1.1 content
=head1 DESCRIPTION
-L<Mojo::Asset::File> is a file storage backend for HTTP 1.1 content.
+L<Mojo::Asset::File> is a file storage backend for HTTP content.
=head1 ATTRIBUTES
View
4 lib/Mojo/Asset/Memory.pm
@@ -59,7 +59,7 @@ sub slurp { shift->{content} }
=head1 NAME
-Mojo::Asset::Memory - In-memory storage for HTTP 1.1 content
+Mojo::Asset::Memory - In-memory storage for HTTP content
=head1 SYNOPSIS
@@ -71,7 +71,7 @@ Mojo::Asset::Memory - In-memory storage for HTTP 1.1 content
=head1 DESCRIPTION
-L<Mojo::Asset::Memory> is an in-memory storage backend for HTTP 1.1 content.
+L<Mojo::Asset::Memory> is an in-memory storage backend for HTTP content.
=head1 EVENTS
View
6 lib/Mojo/Content.pm
@@ -335,7 +335,7 @@ sub _parse_headers {
=head1 NAME
-Mojo::Content - HTTP 1.1 content base class
+Mojo::Content - HTTP content base class
=head1 SYNOPSIS
@@ -343,8 +343,8 @@ Mojo::Content - HTTP 1.1 content base class
=head1 DESCRIPTION
-L<Mojo::Content> is an abstract base class for HTTP 1.1 content as described
-in RFC 2616.
+L<Mojo::Content> is an abstract base class for HTTP content as described in
+RFC 2616.
=head1 EVENTS
View
4 lib/Mojo/Content/MultiPart.pm
@@ -228,7 +228,7 @@ sub _parse_multipart_preamble {
=head1 NAME
-Mojo::Content::MultiPart - HTTP 1.1 multipart content container
+Mojo::Content::MultiPart - HTTP multipart content container
=head1 SYNOPSIS
@@ -240,7 +240,7 @@ Mojo::Content::MultiPart - HTTP 1.1 multipart content container
=head1 DESCRIPTION
-L<Mojo::Content::MultiPart> is a container for HTTP 1.1 multipart content as
+L<Mojo::Content::MultiPart> is a container for HTTP multipart content as
described in RFC 2616.
=head1 EVENTS
View
6 lib/Mojo/Content/Single.pm
@@ -66,7 +66,7 @@ sub parse {
=head1 NAME
-Mojo::Content::Single - HTTP 1.1 content container
+Mojo::Content::Single - HTTP content container
=head1 SYNOPSIS
@@ -78,8 +78,8 @@ Mojo::Content::Single - HTTP 1.1 content container
=head1 DESCRIPTION
-L<Mojo::Content::Single> is a container for HTTP 1.1 content as described in
-RFC 2616.
+L<Mojo::Content::Single> is a container for HTTP content as described in RFC
+2616.
=head1 EVENTS
View
4 lib/Mojo/Cookie.pm
@@ -53,7 +53,7 @@ sub _tokenize {
=head1 NAME
-Mojo::Cookie - HTTP 1.1 cookie base class
+Mojo::Cookie - HTTP cookie base class
=head1 SYNOPSIS
@@ -61,7 +61,7 @@ Mojo::Cookie - HTTP 1.1 cookie base class
=head1 DESCRIPTION
-L<Mojo::Cookie> is an abstract base class for HTTP 1.1 cookies.
+L<Mojo::Cookie> is an abstract base class for HTTP cookies.
=head1 ATTRIBUTES
View
4 lib/Mojo/Cookie/Request.pm
@@ -33,7 +33,7 @@ sub to_string {
=head1 NAME
-Mojo::Cookie::Request - HTTP 1.1 request cookie container
+Mojo::Cookie::Request - HTTP request cookie container
=head1 SYNOPSIS
@@ -46,7 +46,7 @@ Mojo::Cookie::Request - HTTP 1.1 request cookie container
=head1 DESCRIPTION
-L<Mojo::Cookie::Request> is a container for HTTP 1.1 request cookies.
+L<Mojo::Cookie::Request> is a container for HTTP request cookies.
=head1 ATTRIBUTES
View
4 lib/Mojo/Cookie/Response.pm
@@ -87,7 +87,7 @@ sub to_string {
=head1 NAME
-Mojo::Cookie::Response - HTTP 1.1 response cookie container
+Mojo::Cookie::Response - HTTP response cookie container
=head1 SYNOPSIS
@@ -100,7 +100,7 @@ Mojo::Cookie::Response - HTTP 1.1 response cookie container
=head1 DESCRIPTION
-L<Mojo::Cookie::Response> is a container for HTTP 1.1 response cookies.
+L<Mojo::Cookie::Response> is a container for HTTP response cookies.
=head1 ATTRIBUTES
View
7 lib/Mojo/Date.pm
@@ -70,7 +70,7 @@ sub to_string {
=head1 NAME
-Mojo::Date - HTTP 1.1 date container
+Mojo::Date - HTTP date container
=head1 SYNOPSIS
@@ -83,8 +83,7 @@ Mojo::Date - HTTP 1.1 date container
=head1 DESCRIPTION
-L<Mojo::Date> implements HTTP 1.1 date and time functions according to RFC
-2616.
+L<Mojo::Date> implements HTTP date and time functions according to RFC 2616.
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
@@ -129,7 +128,7 @@ Parse date in one of the following formats.
my $string = $date->to_string;
my $string = "$date";
-Render date suitable for HTTP 1.1 messages.
+Render date suitable for HTTP messages.
=head1 SEE ALSO
View
2  lib/Mojo/Headers.pm
@@ -528,7 +528,7 @@ line values are disabled by default.
my $string = $headers->to_string;
-Turn headers into a string, suitable for HTTP 1.1 messages.
+Turn headers into a string, suitable for HTTP messages.
=head2 C<trailer>
View
6 lib/Mojo/Message.pm
@@ -416,7 +416,7 @@ sub _parse_start_line { }
=head1 NAME
-Mojo::Message - HTTP 1.1 message base class
+Mojo::Message - HTTP message base class
=head1 SYNOPSIS
@@ -424,8 +424,8 @@ Mojo::Message - HTTP 1.1 message base class
=head1 DESCRIPTION
-L<Mojo::Message> is an abstract base class for HTTP 1.1 messages as described
-in RFC 2616 and RFC 2388.
+L<Mojo::Message> is an abstract base class for HTTP messages as described in
+RFC 2616 and RFC 2388.
=head1 EVENTS
View
6 lib/Mojo/Message/Request.pm
@@ -279,7 +279,7 @@ sub _parse_start_line {
=head1 NAME
-Mojo::Message::Request - HTTP 1.1 request container
+Mojo::Message::Request - HTTP request container
=head1 SYNOPSIS
@@ -301,8 +301,8 @@ Mojo::Message::Request - HTTP 1.1 request container
=head1 DESCRIPTION
-L<Mojo::Message::Request> is a container for HTTP 1.1 requests as described
-in RFC 2616.
+L<Mojo::Message::Request> is a container for HTTP requests as described in RFC
+2616.
=head1 EVENTS
View
6 lib/Mojo/Message/Response.pm
@@ -132,7 +132,7 @@ sub _parse_start_line {
=head1 NAME
-Mojo::Message::Response - HTTP 1.1 response container
+Mojo::Message::Response - HTTP response container
=head1 SYNOPSIS
@@ -155,8 +155,8 @@ Mojo::Message::Response - HTTP 1.1 response container
=head1 DESCRIPTION
-L<Mojo::Message::Response> is a container for HTTP 1.1 responses as described
-in RFC 2616.
+L<Mojo::Message::Response> is a container for HTTP responses as described in
+RFC 2616.
=head1 EVENTS
View
6 lib/Mojo/Server/Daemon.pm
@@ -270,7 +270,7 @@ sub _write {
=head1 NAME
-Mojo::Server::Daemon - Non-blocking I/O HTTP 1.1 and WebSocket server
+Mojo::Server::Daemon - Non-blocking I/O HTTP and WebSocket server
=head1 SYNOPSIS
@@ -297,8 +297,8 @@ Mojo::Server::Daemon - Non-blocking I/O HTTP 1.1 and WebSocket server
=head1 DESCRIPTION
-L<Mojo::Server::Daemon> is a full featured non-blocking I/O HTTP 1.1 and
-WebSocket server with C<IPv6>, C<TLS> and C<libev> support.
+L<Mojo::Server::Daemon> is a full featured non-blocking I/O HTTP and WebSocket
+server with C<IPv6>, C<TLS> and C<libev> support.
Optional modules L<EV> (4.0+), L<IO::Socket::IP> (0.16+) and
L<IO::Socket::SSL> (1.75+) are supported transparently and used if installed.
View
6 lib/Mojo/Server/Hypnotoad.pm
@@ -365,9 +365,9 @@ Mojo::Server::Hypnotoad - ALL GLORY TO THE HYPNOTOAD!
=head1 DESCRIPTION
L<Mojo::Server::Hypnotoad> is a full featured UNIX optimized preforking
-non-blocking I/O HTTP 1.1 and WebSocket server built around the very well
-tested and reliable L<Mojo::Server::Daemon> with C<IPv6>, C<TLS>, C<libev> and
-hot deployment support that just works.
+non-blocking I/O HTTP and WebSocket server built around the very well tested
+and reliable L<Mojo::Server::Daemon> with C<IPv6>, C<TLS>, C<libev> and hot
+deployment support that just works.
To start applications with it you can use the L<hypnotoad> script.
View
4 lib/Mojo/Server/Morbo.pm
@@ -122,8 +122,8 @@ Mojo::Server::Morbo - DOOOOOOOOOOOOOOOOOOM!
=head1 DESCRIPTION
L<Mojo::Server::Morbo> is a full featured self-restart capable non-blocking
-I/O HTTP 1.1 and WebSocket server built around the very well tested and
-reliable L<Mojo::Server::Daemon> with C<IPv6>, C<TLS> and C<libev> support.
+I/O HTTP and WebSocket server built around the very well tested and reliable
+L<Mojo::Server::Daemon> with C<IPv6>, C<TLS> and C<libev> support.
To start applications with it you can use the L<morbo> script.
View
4 lib/Mojo/Transaction.pm
@@ -171,14 +171,14 @@ Remote interface port.
my $req = $tx->req;
$tx = $tx->req(Mojo::Message::Request->new);
-HTTP 1.1 request, defaults to a L<Mojo::Message::Request> object.
+HTTP request, defaults to a L<Mojo::Message::Request> object.
=head2 C<res>
my $res = $tx->res;
$tx = $tx->res(Mojo::Message::Response->new);
-HTTP 1.1 response, defaults to a L<Mojo::Message::Response> object.
+HTTP response, defaults to a L<Mojo::Message::Response> object.
=head1 METHODS
View
4 lib/Mojo/Transaction/HTTP.pm
@@ -249,7 +249,7 @@ sub _start_line {
=head1 NAME
-Mojo::Transaction::HTTP - HTTP 1.1 transaction container
+Mojo::Transaction::HTTP - HTTP transaction container
=head1 SYNOPSIS
@@ -275,7 +275,7 @@ Mojo::Transaction::HTTP - HTTP 1.1 transaction container
=head1 DESCRIPTION
-L<Mojo::Transaction::HTTP> is a container for HTTP 1.1 transactions as
+L<Mojo::Transaction::HTTP> is a container for HTTP transactions as
described in RFC 2616.
=head1 EVENTS
View
6 lib/Mojo/UserAgent.pm
@@ -524,7 +524,7 @@ sub _write {
=head1 NAME
-Mojo::UserAgent - Non-blocking I/O HTTP 1.1 and WebSocket user agent
+Mojo::UserAgent - Non-blocking I/O HTTP and WebSocket user agent
=head1 SYNOPSIS
@@ -605,8 +605,8 @@ Mojo::UserAgent - Non-blocking I/O HTTP 1.1 and WebSocket user agent
=head1 DESCRIPTION
-L<Mojo::UserAgent> is a full featured non-blocking I/O HTTP 1.1 and WebSocket
-user agent with C<IPv6>, C<TLS> and C<libev> support.
+L<Mojo::UserAgent> is a full featured non-blocking I/O HTTP and WebSocket user
+agent with C<IPv6>, C<TLS> and C<libev> support.
Optional modules L<EV> (4.0+), L<IO::Socket::IP> (0.16+) and
L<IO::Socket::SSL> (1.75+) are supported transparently and used if installed.
View
4 lib/Mojo/UserAgent/CookieJar.pm
@@ -97,7 +97,7 @@ sub inject {
=head1 NAME
-Mojo::UserAgent::CookieJar - Cookie jar for HTTP 1.1 user agents
+Mojo::UserAgent::CookieJar - Cookie jar for HTTP user agents
=head1 SYNOPSIS
@@ -108,7 +108,7 @@ Mojo::UserAgent::CookieJar - Cookie jar for HTTP 1.1 user agents
=head1 DESCRIPTION
L<Mojo::UserAgent::CookieJar> is a minimalistic and relaxed cookie jar for
-HTTP 1.1 user agents.
+HTTP user agents.
=head1 ATTRIBUTES
View
2  lib/Mojolicious.pm
@@ -34,7 +34,7 @@ has static => sub { Mojolicious::Static->new };
has types => sub { Mojolicious::Types->new };
our $CODENAME = 'Rainbow';
-our $VERSION = '3.14';
+our $VERSION = '3.15';
# "These old doomsday devices are dangerously unstable.
# I'll rest easier not knowing where they are."
View
2  lib/Mojolicious/Command/daemon.pm
@@ -4,7 +4,7 @@ use Mojo::Base 'Mojolicious::Command';
use Getopt::Long qw(GetOptions :config no_auto_abbrev no_ignore_case);
use Mojo::Server::Daemon;
-has description => "Start application with HTTP 1.1 and WebSocket server.\n";
+has description => "Start application with HTTP and WebSocket server.\n";
has usage => <<"EOF";
usage: $0 daemon [OPTIONS]
View
2  lib/Mojolicious/Command/get.pm
@@ -9,7 +9,7 @@ use Mojo::JSON::Pointer;
use Mojo::UserAgent;
use Mojo::Util qw(decode encode);
-has description => "Perform HTTP 1.1 request.\n";
+has description => "Perform HTTP request.\n";
has usage => <<"EOF";
usage: $0 get [OPTIONS] URL [SELECTOR|JSON-POINTER] [COMMANDS]
View
2  lib/Mojolicious/Commands.pm
@@ -184,7 +184,7 @@ Upload files to CPAN.
$ ./myapp.pl daemon
-Start application with standalone HTTP 1.1 server backend.
+Start application with standalone HTTP server backend.
=head2 C<eval>
View
12 lib/Mojolicious/Guides.pod
@@ -75,7 +75,7 @@ ones.
=item L<Mojo::UserAgent>
-Full featured non-blocking I/O HTTP 1.1 and WebSocket user agent.
+Full featured non-blocking I/O HTTP and WebSocket user agent.
=item L<Mojo::DOM>
@@ -87,15 +87,13 @@ Minimalistic JSON implementation that just works.
=item L<Mojo::Server::Daemon>
-Highly portable non-blocking I/O HTTP 1.1 and WebSocket server with
-self-restart support through L<Mojo::Server::Morbo>, perfect for development
-and testing.
+Highly portable non-blocking I/O HTTP and WebSocket server with self-restart
+support through L<Mojo::Server::Morbo>, perfect for development and testing.
=item L<Mojo::Server::Hypnotoad>
-Full featured UNIX optimized preforking non-blocking I/O HTTP 1.1 and
-WebSocket server with support for zero downtime software upgrades (hot
-deployment).
+Full featured UNIX optimized preforking non-blocking I/O HTTP and WebSocket
+server with support for zero downtime software upgrades (hot deployment).
=item L<Mojo::Server::CGI>, L<Mojo::Server::PSGI>
View
8 lib/Mojolicious/Guides/Cookbook.pod
@@ -16,10 +16,10 @@ to be able to use them to their full potential.
=head2 Built-in web server
-L<Mojolicious> contains a very portable non-blocking I/O HTTP 1.1 and
-WebSocket server with L<Mojo::Server::Daemon>. It is usually used during
-development and in the construction of more advanced web servers, but is solid
-and fast enough for small to mid sized applications.
+L<Mojolicious> contains a very portable non-blocking I/O HTTP and WebSocket
+server with L<Mojo::Server::Daemon>. It is usually used during development and
+in the construction of more advanced web servers, but is solid and fast enough
+for small to mid sized applications.
$ ./script/myapp daemon
Server available at http://127.0.0.1:3000.
View
2  lib/Mojolicious/Lite.pm
@@ -801,7 +801,7 @@ variable.
=head2 User agent
-With L<Mojolicious::Controller/"ua"> there's a full featured HTTP 1.1 and
+With L<Mojolicious::Controller/"ua"> there's a full featured HTTP and
WebSocket user agent built right in. Especially in combination with
L<Mojo::JSON> and L<Mojo::DOM> this can be a very powerful tool.
View
2  script/hypnotoad
@@ -44,7 +44,7 @@ Mojo::Server::Hypnotoad->new->run($app);
=head1 NAME
-hypnotoad - Hypnotoad HTTP 1.1 and WebSocket server
+hypnotoad - Hypnotoad HTTP and WebSocket server
=head1 SYNOPSIS
View
2  script/morbo
@@ -58,7 +58,7 @@ $morbo->run($app);
=head1 NAME
-morbo - Morbo HTTP 1.1 and WebSocket development server
+morbo - Morbo HTTP and WebSocket development server
=head1 SYNOPSIS
Please sign in to comment.
Something went wrong with that request. Please try again.