Skip to content

Fix `/:username.keys` response content type

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