benoitdm-oslandia / pg_featureserv

Apache License 2.0
1 stars 0 forks source link

Task - accept header superseds page suffix #88

Closed benoitdm-oslandia closed 1 year ago

benoitdm-oslandia commented 1 year ago

even if an user choose to add a suffix (html/json) to a page name, if an accept header is defined then the suffix is ignored. The default behaviour for a web browser is to send an accept header misunderstood by the current code, so user will always retrieve json data when he asked for html ou other.

See also #41

benoitdm-oslandia commented 1 year ago

In GitLab by @nrevelant on Nov 7, 2022, 14:31

marked this issue as related to #66

nrevelant commented 1 year ago