Skip to content

Change api content type to json

Dmytro Zaporozhets (DZ) requested to merge dz-change-api-content-type into master

What does this MR do?

  1. Adds feature flag to change content type to JSON. No need to support txt format for issues list for example.
  2. Add content type text where its actually necessary: for repository, go proxy, runner etc

For #250342 (closed)

Issue to track feature flag => #270067 (closed)

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team
Edited by Dmytro Zaporozhets (DZ)

Merge request reports

Loading