Skip to content

Fix static FE plug to handle missing Accept header.

technomancy requested to merge technomancy/pleroma:static-accept-missing into develop

Currently the Static FE plug will have an error if there's no Accept header provided in a request; this fixes that.

This fix checks to see if text/html is the first provided Accept value, but perhaps it would be better to use Enum.any??

Merge request reports

Loading