IHE / supplement-template

IHE Supplement Template
Creative Commons Attribution 4.0 International
7 stars 0 forks source link

web server defaults to html page #14

Closed JohnMoehrke closed 2 years ago

JohnMoehrke commented 3 years ago

When a browser hits a file without ".html", it should return the .html page

for example "http://profiles.ihe.net/fhir/ihe.formatcode.fhir/ValueSet-formatcode" should return --> "http://profiles.ihe.net/fhir/ihe.formatcode.fhir/ValueSet-formatcode.html"

JohnMoehrke commented 3 years ago

this is the issue we discussed today, where an http request tries to hit a file without an extension, the web server should follow the http negotiate types to determine the best file to return. Thus with a user using a browser this will result in html being returned. This is not always going to be html, as the http request may be from an application requesting json types, which should result in the json being returned.

JohnMoehrke commented 2 years ago

works