We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 94f0f16 commit d9999d5Copy full SHA for d9999d5
frameworks/D/photon-http/source/app.d
@@ -21,7 +21,7 @@ class BenchmarkProcessor : HttpProcessor {
21
}
22
23
override void handle(HttpRequest req) {
24
- if (req.uri == "/hello") {
+ if (req.uri == "/plaintext") {
25
respondWith("Hello, world!", 200, plainText);
26
} else if(req.uri == "/json") {
27
jsonBuf.clear();
@@ -39,7 +39,7 @@ void server_worker(Socket client) {
39
processor.run();
40
41
catch(Exception e) {
42
- stderr.writeln(e);
+ debug stderr.writeln(e);
43
44
45
0 commit comments