Mode editor upload to server

I want to use the mode creator to create my own mode but there seems to be no way to make changes in the mode creator persistent aside from copy'n'pasting from the mode creator into another editor, which is silly.
So I added PUT support to static.py and corresponding buttons and Ctrl-S bindings to the 2 panels of the mode creator.
With these changes in place one can start static.py with e.g.

./static.py --puttable=lib/ace/mode/newmode_highlight_rules.js,demo/kitchen-sink/docs/newmode.rudl

and then work in the mode editor with Ctrl-S/Upload-Button saving directly to disk.
Because to be really useful it needs to support other things like headers, binary data, proper error handling timeouts, progress etc. which are not needed in Ace. Most of ides using Ace have their own virtual file system implementations, and won't benefit from net.put in any way,  so it will just add unnecessary complexity.
> It makes a lot of sense for an editor to have

Ace only provides a replacement for textarea, it doesn't handle saving in any way.

> request(url, "GET, null, callback) 

if we were to add `net.put`, having `net.request` and changing `net.get` to call it internally, would be a nice solution.