athena-framework / athena

An ecosystem of reusable, independent components
https://athenaframework.org
MIT License
211 stars 17 forks source link

Fix content negotiation implementation #431

Closed Blacksmoke16 closed 2 months ago

Blacksmoke16 commented 2 months ago

Context

Prior to this PR, the Format listener was not being registered and thus the format of the request was always json. This was preventing content negotiation from working.

After adding test coverage, there was also an issue using the host request matcher filter that I fixed.

Changelog