Resources served by a Resource Server may not necessarily be UTF-8 encoded
Issue #179
resolved
FAPI 1 - Read Profile
6.2 Read-only access provisions 6.2.1 Protected resources provisions The resource server with the FAPI endpoints:
- shall encode the response in UTF-8;
The Open Banking Financial APIs provided data in formats that are not necessarily TEXT. i.e CSV's PDF's.
Clause 9. shall send the Content-type HTTP header Content-Type: application/json; charset=UTF-8 if applicable; makes it clear that the Content-type response should be UTF-8 only if it makes sense.
I suggest adding the "if applicable;" to the end of clause 8 as well. A more explicit alternative could be "shall encode the response in UTF-8 if the resource is text";
Comments (7)
-
Account Deleted -
- changed status to resolved
This has been changed to “shall encode the response in UTF-8 if applicable;” so we can close this.
-
- changed component to Part 1: Baseline
-
- changed component to FAPI 1 - Part 1: Baseline
-
- changed component to FAPI 1 – Part 1: Baseline
-
- changed component to FAPI 1 – Baseline
-
- changed component to FAPI 1: Baseline
- Log in to comment
I'd be inclined to be more strict. The OB resources specifically call out (https://openbanking.atlassian.net/wiki/spaces/DZ/pages/645203414/Statements+v3.0#Statementsv3.0-GET/accounts/{AccountId}/statements/{StatementId}/file) that the resource is intended not to be JSON format, but rather a file format.