File tree 1 file changed +17
-0
lines changed
1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -21,6 +21,16 @@ system/options/log/httpd: 3 ; for verbose output
21
21
; make sure that there is the directory for logs
22
22
make-dir/deep %httpd-root/logs/
23
23
24
+ humans.txt: {
25
+ __
26
+ ( )
27
+ ||
28
+ ||
29
+ ___|""|__.._
30
+ /____________\
31
+ \____________/~~~> http://github.com/oldes/
32
+ }
33
+
24
34
http-server/config/actor 8081 [
25
35
;- Main server configuration
26
36
@@ -59,6 +69,13 @@ http-server/config/actor 8081 [
59
69
ctx/out/content: "hello"
60
70
; request processing will stop with response 200 serving the plain text content
61
71
]
72
+ %humans.txt [
73
+ ;@@ https://codeburst.io/all-about-humans-humans-txt-actually-f571d37f92d2
74
+ ;-- serving the content directly from the memory
75
+ ctx/out/status: 200
76
+ ctx/out/header/Content-Type: "text/plain; charset=UTF-8"
77
+ ctx/out/content: humans.txt
78
+ ]
62
79
]
63
80
]
64
81
On-Post-Received : func [ ctx [object! ]] [
You can’t perform that action at this time.
0 commit comments