<p>Em 21/07/2011 04:18, <<a href="mailto:bdwalton@users.sourceforge.net">bdwalton@users.sourceforge.net</a>> escreveu:<br>
><br>
> Revision: 455<br>
>          <a href="http://opencsw.svn.sourceforge.net/opencsw/?rev=455&view=rev">http://opencsw.svn.sourceforge.net/opencsw/?rev=455&view=rev</a><br>
> Author:   bdwalton<br>
> Date:     2011-07-21 03:18:39 +0000 (Thu, 21 Jul 2011)<br>
><br>
> Log Message:<br>
> -----------<br>
> provide unique web errors from the web daemon<br>
><br>
> Signed-off-by: Ben Walton <<a href="mailto:bwalton@opencsw.org">bwalton@opencsw.org</a>><br>
><br>
> Modified Paths:<br>
> --------------<br>
>    catalog_signatures/lib/csw/gpg_daemon.rb<br>
><br>
> Modified: catalog_signatures/lib/csw/gpg_daemon.rb<br>
> ===================================================================<br>
> --- catalog_signatures/lib/csw/gpg_daemon.rb    2011-07-21 03:18:15 UTC (rev 454)<br>
> +++ catalog_signatures/lib/csw/gpg_daemon.rb    2011-07-21 03:18:39 UTC (rev 455)<br>
> @@ -25,11 +25,11 @@<br>
>           response.body = content<br>
>         else<br>
>           response.status = 500<br>
> -          response.body = "500 There was a problem processing the request."<br>
> +          response.body = "500 Problem signing the catalog file."<br>
>         end<br>
>       else<br>
>         response.status = 500<br>
> -        response.body = "500 There was a problem processing the request."<br>
> +        response.body = "500 Catalog file not found at valid path."</p>
<p>My understanding of the 5** range errors is that there is something wrong on the server side. It could be a bug or insufficient resources. Have you looked whether there are better, more specific HTTP error codes that would better match what happened? </p>

<p>>       end<br>
>     else<br>
>       response.status = 400<br>
><br>
><br>
> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.<br>
> _______________________________________________<br>
> devel mailing list<br>
> <a href="mailto:devel@lists.opencsw.org">devel@lists.opencsw.org</a><br>
> <a href="https://lists.opencsw.org/mailman/listinfo/devel">https://lists.opencsw.org/mailman/listinfo/devel</a><br>
</p>