Content-Type header
This commit is contained in:
parent
53e26b08a1
commit
1dbab91ccc
|
@ -75,7 +75,9 @@
|
||||||
(define response
|
(define response
|
||||||
(string->bytes/utf-8
|
(string->bytes/utf-8
|
||||||
(format (string-append
|
(format (string-append
|
||||||
"HTTP/1.0 200 OK\r\n\r\n"
|
"HTTP/1.0 200 OK\r\n"
|
||||||
|
"Content-Type: text/html\r\n"
|
||||||
|
"\r\n"
|
||||||
"<h1>Hello world from syndicate-netstack!</h1>\n"
|
"<h1>Hello world from syndicate-netstack!</h1>\n"
|
||||||
"<p>This is running on syndicate's own\n"
|
"<p>This is running on syndicate's own\n"
|
||||||
"<a href='https://github.com/tonyg/syndicate/'>\n"
|
"<a href='https://github.com/tonyg/syndicate/'>\n"
|
||||||
|
|
Loading…
Reference in New Issue