[Rt-commit] [svn] r855 - in RTx-Atom: . lib/RTx

autrijus at pallas.eruditorum.org autrijus at pallas.eruditorum.org
Fri May 7 20:16:57 EDT 2004


Author: autrijus
Date: Fri May  7 20:16:56 2004
New Revision: 855

Modified:
   RTx-Atom/   (props changed)
   RTx-Atom/lib/RTx/Atom.pm
Log:
 ----------------------------------------------------------------------
 r4540 at not:  autrijus | 2004-05-07T21:01:34.645134Z
 
 * remove the kluge for using the same URI's GET to emulate OPTIONS and
   POST to emulate PUT and DELETE; we now explicitly request them to
   append the !METHOD to the end of the URI.
 
 ----------------------------------------------------------------------


Modified: RTx-Atom/lib/RTx/Atom.pm
==============================================================================
--- RTx-Atom/lib/RTx/Atom.pm	(original)
+++ RTx-Atom/lib/RTx/Atom.pm	Fri May  7 20:16:56 2004
@@ -58,11 +58,8 @@
         Members => { add => $user },
     );
 
-And now the actual requests and responses.  Note that C<GET> may
-be used instead of C<OPTIONS> at any given time.
-
-Authentication: (The C<Accept> header will be omitted for brevity from
-now on.)
+And now the actual requests and responses.  First, the Authentication
+part: (The C<Accept> header will be omitted for brevity from now on.)
 
     HEAD /Atom/0.3
     Accept: application/x.atom+xml,*/*
@@ -302,7 +299,7 @@
     400: Request failed.  Body is the error message.
     404: There is no object matching the specified URI.
 
-Clients without I<PUT> support may use I<POST EditURI> instead.
+Clients without I<PUT> support may use I<POST EditURI!PUT> instead.
 
 =head2 Remove - I<DELETE EditURI>
 
@@ -312,8 +309,7 @@
     400: Request failed.  Body is the error message.
     404: There is no object matching the specified URI.
 
-Clients without I<DELETE> support may use I<POST EditURI> instead, with an
-empty entry element as the request body.
+Clients without I<DELETE> support may use I<POST EditURI!DELETE> instead.
 
 =head2 Describe - I<OPTIONS [ PostURI | EditURI | FeedURI ]>
 
@@ -332,8 +328,7 @@
     400: Request failed.  Body is the error message.
     404: There is no container matching the specified URI.
 
-Clients without I<OPTIONS> support may use I<GET> instead with no query
-parameters.
+Clients without I<OPTIONS> support may use I<GET AnyURI!OPTIONS> instead.
 
 =head2 Add - I<POST PostURI> (Container)
 


More information about the Rt-commit mailing list