Thanks Jason, changes merged and submitted to SVN.
On Thu, Oct 9, 2008 at 3:14 AM, Jason Beverage <[EMAIL PROTECTED]> wrote: > Hi Robert, > > Here is a small change to the CURL plugin to distinguish between a 400 level > error and a 500 level error. > > If a 400 level error occurs, a FILE_NOT_FOUND ReadResult is appropriate. > > If a 500 level error occurs (such a 503, Service unavailable), the > application might want to try to load the file again in a few > seconds/minutes. This submission returns ERROR_IN_READING_FILE if a 500 > level error occurs so that clients can easily distinguish between the > errors. > > The actual error code is also added to the "message" of the ReadResult so if > a client needs more information, they can just parse the message to retrieve > the error code. > > Thanks! > > Jason > > _______________________________________________ > osg-submissions mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org > > _______________________________________________ osg-submissions mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
