/** * Serves PUT requests. * * The method receives a {@link ezcWebdavPutRequest} objects containing all * relevant information obout the clients request and will return an * instance of {@link ezcWebdavErrorResponse} on error or {@link * ezcWebdavPutResponse} on success. * * This method acquires the internal lock of the backend, dispatches to * {@link ezcWebdavSimpleBackend} to perform the operation and releases the * lock afterwards. * * @param ezcWebdavPutRequest $request * @return ezcWebdavResponse */ public function put(ezcWebdavPutRequest $request) { $this->acquireLock(); $return = parent::put($request); $this->freeLock(); return $return; }
public function put(ezcWebdavPutRequest $request) { print_debug("-- HTTP method: PUT --\n"); $this->acquireLock(); $return = parent::put($request); $this->freeLock(); return $return; }