Skip to content

Feature flag: Default API content type JSON

What does this MR do?

We were refining one issue #220013 (closed) related to the incorrect Content-Type and I found this description from !53231 (merged) which is misleading right now:

https://docs.gitlab.com/ee/api/README.html#content-type

This change is deployed behind the :api_always_use_application_json feature flag, enabled by default. On GitLab self-managed instances, GitLab administrators can choose to disable it.

This MR enables by default the api_always_use_application_json feature flag as the documentation indicates.

Related to: #250342 (closed) #270067 (closed)

Edited by Dmytro Zaporozhets (DZ)

Merge request reports