On Thu, 04 Nov 2004 07:33:37 -0500, Robert Sayre <[EMAIL PROTECTED]> wrote:
>
> Tim Bray wrote:
> >
> > I'm feeling positive about PaceServiceError, but I have a question: why
> > does it need to use a new custom-built HTTP verb? Why don't we just
> > specify that you POST to the ServiceError URI two name-value pairs, CGI
> > style, either in the URI or the body?
> >
>
> It uses a new a verb so you can't screw up the XML on purpose and send
> requests to random POST handlers. Using a new verb means that the
> resource actually has to be an Atom error handler. This is important
> because the requests could be fired off automatically, from behind
> firewalls, etc. It's important that it be no more dangerous than img @src
I'm not sure I understand. Are you saying that of these
two requests, the first one is 'safer'?
----------------------------------------------
ERROR /errorhandler HTTP/1.1
Content-Type: application/atom+xml
<?xml version="1.0" encoding='iso-8859-1'?>
<error>Something bad happened.</error>
----------------------------------------------
----------------------------------------------
POST /errorhandler HTTP/1.1
Content-Type: application/atom+xml
<?xml version="1.0" encoding='iso-8859-1'?>
<error>Something bad happened.</error>
----------------------------------------------
-joe
--
Joe Gregorio http://bitworking.org