mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-16 05:43:54 +03:00
[PR #4510] [MERGED] Set default request accept headers #10126
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/jellyfin/jellyfin/pull/4510
Author: @crobibero
Created: 11/19/2020
Status: ✅ Merged
Merged: 11/22/2020
Merged by: @joshuaboniface
Base:
master← Head:http-accept-header📝 Commits (2)
c2d2c57Set default request accept headersc53b4f5Add xml and quality📊 Changes
1 file changed (+8 additions, -0 deletions)
View changed files
📝
Jellyfin.Server/Startup.cs(+8 -0)📄 Description
Sets the default
Acceptheader toapplication/json, */*By default there is no
Acceptheader.*/*is needed for endpoints that would return an image instead of json.This can be overridden locally as follows
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.