1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69
|
Index: librest-application-perl/lib/REST/Application.pm
===================================================================
--- librest-application-perl.orig/lib/REST/Application.pm 2008-06-03 23:02:19.000000000 +0200
+++ librest-application-perl/lib/REST/Application.pm 2008-06-03 23:05:59.000000000 +0200
@@ -514,7 +514,7 @@
=head1 SYNOPSIS
- # MyRESTApp L<REST::Application> instance / mod_perl handler
+ # MyRESTApp REST::Application instance / mod_perl handler
package MyRESTApp;
use Apache;
use Apache::Constants qw(:common);
@@ -642,6 +642,8 @@
string. Optionally the handler should set any header information via the
C<header()> method on instance object pased in.
+=back
+
=head1 CALLING ORDER
The L<REST::Application> base class provides a good number of methods, each of
@@ -701,8 +703,6 @@
HTTP request rather than just the path info you'd merely overload
C<getMatchText()> to return the URI rather than the path info.
-=back
-
=head1 METHODS
=head2 new(%args)
@@ -819,7 +819,7 @@
=head2 sendRepresentation($representation)
-This method just returns C<$representation>. It is provided soely for
+This method just returns C<$representation>. It is provided solely for
overloading purposes.
=head2 headerType([$type])
@@ -835,8 +835,8 @@
keys are the header fields and the values are the header field values.
If this method is called multiple times then the values of %args are additive.
-So calling C<$self->header(-type => "text/html")> and C<$self->header(-foo =>
-"bar")> results in both the content-type header being set and the "foo" header
+So calling C<$self-E<gt>header(-type =E<gt> 'text/html')> and C<$self-E<gt>header(-foo =E<gt>
+'bar')> results in both the content-type header being set and the "foo" header
being set.
=head2 resetHeader()
@@ -854,7 +854,7 @@
Given a list of MIME types this function returns the best matching type
considering the Accept header of the current request (as returned by
-C<getAcceptHeader()>.
+C<getAcceptHeader()>).
=head2 simpleContentNegotiation(@types)
@@ -906,7 +906,7 @@
=head1 AUTHORS
-Matthew O'Connor E<lt>matthew@canonical.org<gt>
+Matthew O'Connor E<lt>matthew@canonical.orgE<gt>
=head1 LICENSE
|