gotosocial/internal/api/client/instance
Daenney 6b727404be
[bugfix] Advertise audio/mpeg as supported (#3632)
This will be either an mp1, mp2 or mp3 file. In practice it'll probably
be mp3, but this handles mp1 too for good measure. We don't advertise
audio/mp1 as a supported media type since best I can tell that was never
a MIME type that's been used.

This also changes the returned MIME-type for mp2 and mp3 to audio/mpeg,
to match what's expected and supported by most things nowadays.

Fixes: #3531
2024-12-28 11:02:12 +01:00
..
instance.go [feature] Instance rules (#2125) 2023-08-19 14:33:15 +02:00
instance_test.go [feature] Add experimental instance-federation-spam-filter option (#2685) 2024-02-27 12:22:05 +00:00
instanceget.go [performance] http response encoding / writing improvements (#2374) 2023-11-27 14:00:57 +00:00
instancepatch.go [feature] Add global instance CSS customization setting (#3352) 2024-12-02 12:24:48 +01:00
instancepatch_test.go [bugfix] Advertise audio/mpeg as supported (#3632) 2024-12-28 11:02:12 +01:00
instancepeersget.go [performance] http response encoding / writing improvements (#2374) 2023-11-27 14:00:57 +00:00
instancepeersget_test.go [chore] Use generic pointer function (#2080) 2023-08-07 18:38:11 +01:00
instancerulesget.go [performance] http response encoding / writing improvements (#2374) 2023-11-27 14:00:57 +00:00