File tree Expand file tree Collapse file tree 2 files changed +16
-0
lines changed Expand file tree Collapse file tree 2 files changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -48,6 +48,11 @@ By default ``Response.send_file()`` looks for the file in the server's ``root_pa
48
48
:caption: examples/httpserver_handler_serves_file.py
49
49
:linenos:
50
50
51
+ .. literalinclude :: ../examples/home.html
52
+ :language: html
53
+ :caption: www/home.html
54
+ :linenos:
55
+
51
56
Tasks in the background
52
57
-----------------------
53
58
Original file line number Diff line number Diff line change
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 >
You can’t perform that action at this time.
0 commit comments