mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-27 05:13:10 +00:00
web_config: send correct MIME type (and actually send it)
This commit is contained in:
parent
d2f23e1df4
commit
71c55e1a4a
1 changed files with 2 additions and 1 deletions
|
@ -751,7 +751,8 @@ class FishConfigHTTPRequestHandler(SimpleHTTPServer.SimpleHTTPRequestHandler):
|
|||
|
||||
# Return valid output
|
||||
self.send_response(200)
|
||||
self.send_header('Content-type','text/html')
|
||||
self.send_header('Content-type','application/json')
|
||||
self.end_headers()
|
||||
self.write_to_wfile('\n')
|
||||
|
||||
# Output JSON
|
||||
|
|
Loading…
Reference in a new issue