Skip to content
Snippets Groups Projects

Fix `/:username.keys` response content type

Merged gitlab-qa-bot requested to merge github/fork/dmedvinsky/username-keys-content-type into master

Created by: dmedvinsky

Currently this method responds with text/html. It is kind of unusable if you open it in a browser. The browser thinks it is HTML and renders it as HTML, meaning new lines are dropped. So it's very hard to distinguish where the key starts and where it ends.

This commit changes the content type header to text/plain.

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Created by: dmedvinsky

    Rebased on master.

    By Administrator on 2014-03-20T15:10:22 (imported from GitLab project)

    By Administrator on 2014-03-20T15:10:22 (imported from GitLab)

  • Created by: dzaporozhets

    thanks

    By Administrator on 2014-03-21T07:38:33 (imported from GitLab project)

    By Administrator on 2014-03-21T07:38:33 (imported from GitLab)

Please register or sign in to reply
Loading