mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-02-08 23:20:03 +00:00
parent
190ced7cdd
commit
dd451800c7
@ -108,6 +108,9 @@ SimpleServer.prototype.listen = function(port,host) {
|
|||||||
response.end();
|
response.end();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
// Set the encoding for the incoming request
|
||||||
|
// TODO: Presumably this would need tweaking if we supported PUTting binary tiddlers
|
||||||
|
request.setEncoding("utf8");
|
||||||
// Dispatch the appropriate method
|
// Dispatch the appropriate method
|
||||||
switch(request.method) {
|
switch(request.method) {
|
||||||
case "GET": // Intentional fall-through
|
case "GET": // Intentional fall-through
|
||||||
|
Loading…
x
Reference in New Issue
Block a user