Roxen.git / server / base_server / module.pike

version» Context lines:

Roxen.git/server/base_server/module.pike:1:   // This file is part of Roxen WebServer.   // Copyright © 1996 - 2001, Roxen IS. - // $Id: module.pike,v 1.202 2004/05/12 20:12:52 mast Exp $ + // $Id: module.pike,v 1.203 2004/05/12 20:20:44 mast Exp $      #include <module_constants.h>   #include <module.h>   #include <request_trace.h>      constant __pragma_save_parent__ = 1;      inherit "basic_defvar";   mapping(string:array(int)) error_log=([]);   
Roxen.git/server/base_server/module.pike:1347:   #else    if (sizeof (res)) {    // RFC 2518 8.8.3:    // If an error in executing the COPY method occurs with a    // resource other than the resource identified in the    // Request-URI then the response MUST be a 207    // (Multi-Status).    //    // So if the failure was on the root destination resource we    // have to convert it to a multi-status. -  result->add_status (destination, res); +  result->add_status (destination, res->error, res->rettext);    }    return ([]);   #endif    }    TRACE_LEAVE("Deletion ok.");    break;    case NEVER_OVERWRITE:    TRACE_LEAVE("Destination already exists.");    return Roxen.http_status(Protocols.HTTP.HTTP_PRECOND_FAILED);    case MAYBE_OVERWRITE: