summaryrefslogtreecommitdiff
path: root/internal/api/negotiate.go
AgeCommit message (Collapse)AuthorFiles
2021-12-20Extend license notices to 2022 (#354)Libravatar tobi1
2021-12-20return first offer when no accept header set (#351)Libravatar tobi1
2021-12-11Add `Accept` header negotiation to relevant API endpoints (#337)Libravatar tobi1
* start centralizing negotiation logic for API * swagger document nodeinfo endpoint * go fmt * document negotiate function * use content negotiation * tidy up negotiation logic * negotiate content throughout client api * swagger * remove attachment on Content * add accept header to test requests