You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shindig.apache.org by "Kevin Brown (JIRA)" <ji...@apache.org> on 2008/06/07 00:50:45 UTC

[jira] Commented: (SHINDIG-309) return HTTP errors from HttpFetcher subclasses

    [ https://issues.apache.org/jira/browse/SHINDIG-309?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12603211#action_12603211 ] 

Kevin Brown commented on SHINDIG-309:
-------------------------------------

Ok, this looks good as well, though it looks like there are some missing test cases (there are comments to this effect). I'd prefer that the tests be added instead of the comments :)

> return HTTP errors from HttpFetcher subclasses
> ----------------------------------------------
>
>                 Key: SHINDIG-309
>                 URL: https://issues.apache.org/jira/browse/SHINDIG-309
>             Project: Shindig
>          Issue Type: Bug
>            Reporter: Brian Eaton
>         Attachments: httperrors2.patch
>
>
> The current implementation of BasicHttpFetcher fails if a server returns a 40x or 50x return code.  An exception gets thrown, which in turn is turned into a hard coded HTTP 500 response.
> This patch tweaks the code to allow the real response to be returned.
> This is prep work for supporting the OAuth problem reporting extension, to be shortly followed by the Scalable OAuth extension.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.