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:
@@ -2,7 +2,6 @@ import type { HttpHandler,
|
||||
ResourceStore } from '../../index';
|
||||
import {
|
||||
AuthenticatedLdpHandler,
|
||||
BasicResponseWriter,
|
||||
CompositeAsyncHandler,
|
||||
MethodPermissionsExtractor,
|
||||
RdfToQuadConverter,
|
||||
@@ -16,6 +15,7 @@ import {
|
||||
getBasicRequestParser,
|
||||
getOperationHandler,
|
||||
getWebAclAuthorizer,
|
||||
getResponseWriter,
|
||||
} from './Util';
|
||||
|
||||
/**
|
||||
@@ -46,7 +46,7 @@ export class BasicHandlersWithAclConfig implements ServerConfig {
|
||||
|
||||
const operationHandler = getOperationHandler(this.store);
|
||||
|
||||
const responseWriter = new BasicResponseWriter();
|
||||
const responseWriter = getResponseWriter();
|
||||
const authorizer = getWebAclAuthorizer(this.store);
|
||||
|
||||
const handler = new AuthenticatedLdpHandler({
|
||||
|
||||
Reference in New Issue
Block a user