Skip to content

Define logic to find port in well-known discovery #199

@taleodor

Description

@taleodor

Currently, the port number is not part of the TEI but it is needed to connect to the API. The current assumption is that the client connects on the default https port (443). At this time, it is recommended that experimental clients add an optional port parameter, which
allows to override the default port.

A port number cannot be added to the TEI URN spec as it breaks the location independence requirement of URN.

Possible solutions to this issue (there may be others not listed below):

  1. Make a convention that the port number for the ./well-known/tea is always 443. Exceptions possible via explicit client setting for non-production environments only.
  2. Use SRV or HTTPS DNS records to resolve the ./well-known/tea URL with the port number.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions