From 62404514d6227fada30e90ca5249760ac999ca7a Mon Sep 17 00:00:00 2001 From: Sarai Misidjan Date: Tue, 12 Sep 2023 12:07:47 +0200 Subject: [PATCH] added accept type for html --- api/src/Controller/ZZController.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/api/src/Controller/ZZController.php b/api/src/Controller/ZZController.php index d135e5e62..e011301c3 100644 --- a/api/src/Controller/ZZController.php +++ b/api/src/Controller/ZZController.php @@ -159,6 +159,8 @@ private function getAcceptType(Request $request): string case 'text/xml': case 'application/xml': return 'xml'; + case 'text/html': + return 'html'; }//end switch throw new BadRequestHttpException('No proper accept could be determined');