HomePhabricator

[FIX] Correct content-type and charset for endpoint /month-rank/<month>/<format>
6587f3079da1Unpublished

Authored by samuelguebo on Apr 18 2019, 12:23 PM.

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

[FIX] Correct content-type and charset for endpoint /month-rank/<month>/<format>

  • with wiki as parameter, the content-type is text/plain
  • with json as parameter, the content-type is application/json
  • setting utf8 as the default charset, no matter the parameter

Bug: T213581
Change-Id: Ia583a4bbb3339e668caa375f5734c3bf264541ed