mirror of
https://github.com/CommunitySolidServer/CommunitySolidServer.git
synced 2024-10-03 14:55:10 +00:00
refactor: Split off ErrorResponseWriter
This commit is contained in:
@@ -6,7 +6,6 @@ import type {
|
||||
import {
|
||||
AllowEverythingAuthorizer,
|
||||
AuthenticatedLdpHandler,
|
||||
BasicResponseWriter,
|
||||
CompositeAsyncHandler,
|
||||
MethodPermissionsExtractor,
|
||||
QuadToRdfConverter,
|
||||
@@ -20,6 +19,7 @@ import {
|
||||
getConvertingStore,
|
||||
getBasicRequestParser,
|
||||
getDataAccessorStore,
|
||||
getResponseWriter,
|
||||
} from './Util';
|
||||
|
||||
/**
|
||||
@@ -50,7 +50,7 @@ export class DataAccessorBasedConfig implements ServerConfig {
|
||||
const authorizer = new AllowEverythingAuthorizer();
|
||||
|
||||
const operationHandler = getOperationHandler(this.store);
|
||||
const responseWriter = new BasicResponseWriter();
|
||||
const responseWriter = getResponseWriter();
|
||||
|
||||
const handler = new AuthenticatedLdpHandler({
|
||||
requestParser,
|
||||
|
||||
Reference in New Issue
Block a user