Query re `x-fapi-...` headers

Issue #102 resolved
Dave Tonge created an issue

We've received a query via OpenBanking as to why we are using the x- style headers when they've been deprecated in https://tools.ietf.org/html/rfc6648

Comments (6)

  1. Joseph Heenan

    RFC6648 had somehow passed me by. I'm not aware of any reason to keep the X-, so think we should remove the prefix then.

  2. Dave Tonge reporter

    The RFC doesn't seem to be particularly well known.

    We briefly discussed the issue on the call and discussed the possibility of creating a registry as described in 4.1 of the RFC:

    SHOULD establish registries with potentially unlimited value-
           spaces, defining both permanent and provisional registries if
           appropriate.
    
  3. Joseph Heenan

    I may have missed something (I wanted to join last night's call but just arrived in Japan and had some fairly extreme jet lag), but in this case my understanding is we are adding fields to HTTP messages, so rather than having our own registry we should be registering with the new headers with the HTTP registry as per https://tools.ietf.org/html/rfc3864#page-7

    (I guess what might have been suggested is that we register a FAPI namespace for HTTP headers and run our own registry within that - AIUI whilst '.' is reserved for namespacing within HTTP headers that process has never been used to date and an RFC is required to register the namespace.)

    I'm not entirely sure how rigorously other people adding HTTP headers follow the registration process.

  4. Joseph Heenan

    This was mentioned on today's call. As I understand it, the current thoughts are that we will be keeping the X- prefix (as it's really too late to look at removing it given OpenBanking have already adopted it in their profile), but we plan to register the current names with the HTTP registry.

  5. Sascha Preibisch

    Although OpenBanking has adopted the "X-" I still think we should remove it. As Dave mentioned the original question on why we include "X-" came from OpenBanking. The referenced RFC states:

    "SHOULD NOT prefix their parameter names with "X-" or similar constructs".

    I believe that FAPI will be widely used and therefore becomes an "official" standard. With that we should try to follow RFCs wherever it makes sense.

  6. Log in to comment