arpsmack/haste-server — pull request #27 by neandrake (2014-09-03 01:45:12+00:00)
Title: Disallow editing of non-text documents

Requesting documents now attempts to validate content types if the request specifies one. The client application now requests only content types of text/plain to put into the editor/syntax highlight. Attempting to put a non-text file into edit mode will result in a new document being loaded.