We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 19148a5 commit 240a2c4Copy full SHA for 240a2c4
2 files changed
docs/examples.rst
@@ -48,6 +48,11 @@ By default ``Response.send_file()`` looks for the file in the server's ``root_pa
48
:caption: examples/httpserver_handler_serves_file.py
49
:linenos:
50
51
+.. literalinclude:: ../examples/home.html
52
+ :language: html
53
+ :caption: www/home.html
54
+ :linenos:
55
+
56
Tasks in the background
57
-----------------------
58
examples/home.html
@@ -0,0 +1,11 @@
1
+<html lang="en">
2
+ <head>
3
+ <meta charset="UTF-8">
4
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>Adafruit HTTPServer</title>
7
+ </head>
8
+ <body>
9
+ <p>Hello from the <strong>CircuitPython HTTP Server!</strong></p>
10
+ </body>
11
+</html>
0 commit comments