abdera-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chad Lung (JIRA)" <j...@apache.org>
Subject [jira] [Created] (ABDERA-289) Posting malformed ATOM XML to Abdera results in an HTTP 500 Server Error, it should return HTTP 422 Unprocessable Entity or HTTP 400
Date Thu, 15 Sep 2011 21:35:09 GMT
Posting malformed ATOM XML to Abdera results in an HTTP 500 Server Error, it should return
HTTP 422 Unprocessable Entity or HTTP 400
------------------------------------------------------------------------------------------------------------------------------------

                 Key: ABDERA-289
                 URL: https://issues.apache.org/jira/browse/ABDERA-289
             Project: Abdera
          Issue Type: Bug
    Affects Versions: 1.1.2
         Environment: OS X 10.6
            Reporter: Chad Lung


When I do an HTTP Post to Apache Abdera with malformed ATOM XML I get an HTTP 500 error back.
 This should actually be a "HTTP 422 Unprocessable Entity" or a "HTTP 400 Bad Request".

Posting this to Apache Abdera will result in the error:

<?xml version="1.0"?>dqwd
<entry xmlns="http://www.w3.org/2005/Atom">
<title>Atom-Powered Robots Run Amok</title>
<updated>2003-12-13T18:30:02Z</updated>
<author><name>John Doe</name></author>
<content>Some text.</content>
</entry>

Error from Abdera once that is posted:

<?xml version='1.0' encoding='UTF-8'?><error xmlns="http://abdera.apache.org"><code>500</code><message>Server
Error</message></error>


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message