Files
gerrit/polygerrit-ui/app/elements/edit/gr-editor-view
Kasper Nilsson 60f3dcb1b8 Use Accept:application/json header in file edit
Getting a JSON response instead of a base64 one greatly simplifies the
logic regarding fetching the contents of an edited file.

With this header, 404s no longer occur in valid circumstances -- if the
file is not found, an empty string is used as the file contents.

Bug: Issue 7434
Change-Id: I39042c7c253944195c9dfab84a3b8c5cbe2a1b03
2017-10-16 23:53:51 +00:00
..