Skip to content

Commit

Permalink
Merge pull request #1548 from ConductionNL/feature/BEL-9/html
Browse files Browse the repository at this point in the history
added accept type for html
  • Loading branch information
smisidjan authored Sep 12, 2023
2 parents ac4fdac + 6240451 commit 78c0ef2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions api/src/Controller/ZZController.php
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down

0 comments on commit 78c0ef2

Please sign in to comment.