Commit graph

69 commits

Author SHA1 Message Date
michalpokusa
8d55322316 Updated CPython example to use port 5000 by default and added explanation for that 2024-02-01 15:41:13 +00:00
michalpokusa
e4c05ad7a2 Added example of using lib with CPython 2024-01-28 22:54:51 +00:00
michalpokusa
dac68d280b Made example that shows manual static files handling more verbose 2024-01-25 18:21:54 +00:00
michalpokusa
b3d557756d Updated copyright info in home.html to use HTML comments 2023-11-06 14:16:14 +00:00
michalpokusa
6a5d1425f9 Refactor and added trailing / for directories 2023-11-05 12:04:57 +00:00
michalpokusa
84794f2866 Added support for files/directories that have space in their name 2023-11-05 12:01:42 +00:00
michalpokusa
f0a157522d Changed copyright info to HTML comment 2023-11-05 11:58:41 +00:00
michalpokusa
85cd890f3d Fix: typo in traversal 2023-10-29 23:12:23 +00:00
michalpokusa
46bbda7200 Fix: Preventing only .. in path and allowing . 2023-10-29 22:58:41 +00:00
michalpokusa
0ad3c2cffe Added example for using adafruit_templateengine with adafruit_httpserver 2023-10-26 09:02:13 +00:00
c01o
6a9b4d6558
Fix typo 2023-10-16 14:53:53 +09:00
michalpokusa
600a69235c Added simple poll example with asyncio 2023-09-25 06:55:12 +00:00
michalpokusa
b8a3561f23 Modified Websocket example to use asyncio 2023-09-25 06:54:31 +00:00
michalpokusa
36dc07344d Fix: Missing headers in Response constructor 2023-09-01 22:43:48 +00:00
michalpokusa
615290df13 Minor change in redirect example 2023-09-01 22:11:28 +00:00
michalpokusa
8c16b279df Added info abotu adding cookies using Set-Cookie headers 2023-08-29 17:14:20 +00:00
michalpokusa
4ec5f9a3e6 Added cookies handling and example for it 2023-08-28 19:01:16 +00:00
michalpokusa
5da48c20aa Added Token authentication method 2023-08-28 19:01:00 +00:00
michalpokusa
bc579e85bd Updated example for redirects 2023-08-27 02:38:39 +00:00
michalpokusa
5e57a6496a Fix: Wrong method in example and .json() for non-POST requests 2023-07-31 16:26:41 +00:00
michalpokusa
7d8c0b1271 Made SSE and Websocket examples more visual 2023-07-31 07:01:43 +00:00
michalpokusa
4063b5a39b Updated Copyright headers 2023-07-30 20:09:30 +00:00
michalpokusa
d4dc768242 Included ethernet example in docs, fixes to emphasized lines 2023-07-18 18:49:11 +00:00
michalpokusa
9dfaf80288 Merge remote-tracking branch 'origin/main' into external-routes-websockets-sse 2023-07-18 18:41:40 +00:00
foamyguy
e0b2ba98db
Merge pull request #59 from FoamyGuy/ethernet_example
adding ethernet example
2023-07-17 10:34:20 -05:00
michalpokusa
5c30a2a31b Added as_route decorator as shorthand for creating Route objects 2023-07-16 18:44:58 +00:00
michalpokusa
d372f8e216 CI fixes, reformating etc. 2023-07-13 10:25:38 +00:00
michalpokusa
86d11c9ab8 Modified neopixel example to use Server.add_routes() 2023-07-13 09:36:26 +00:00
michalpokusa
4047ef5af6 Added example for Websocket 2023-07-13 09:32:32 +00:00
michalpokusa
ebb7ca74fd Added example for SSEResponse 2023-07-13 08:56:19 +00:00
michalpokusa
e3c83b4276 Added returns to Server.pool() 2023-07-04 19:21:58 +00:00
michalpokusa
b271a3c580 Fix: data to form_data in docs and examples 2023-07-02 09:26:12 +00:00
foamyguy
072c40672f adding ethernet example 2023-06-26 10:29:54 -05:00
michalpokusa
6d7ecd3360 Updated docs and examples about FormData 2023-06-10 12:36:18 +00:00
michalpokusa
e05a5f2c3e Added missing newline to CPU information example 2023-06-10 08:43:41 +00:00
michalpokusa
63e7eb8372 Added docs and example about **params 2023-06-08 23:38:37 +00:00
michalpokusa
f62899ca71 Added Server.headers and updated docs for it 2023-05-27 09:00:54 +00:00
michalpokusa
f59d10c852 Fix: Removed text keyword from Response 2023-05-22 15:55:35 +00:00
michalpokusa
87b0e278fd Updated docs and examples to new Response API, added example of Redirect 2023-05-08 09:25:38 +00:00
michalpokusa
a424d27098 Added ... and .... wildcards 2023-05-03 13:53:30 +00:00
michalpokusa
33d6b25c5e Refactor of _Route and _Routes, added append_slash 2023-05-03 09:25:06 +00:00
michalpokusa
7c6ae2a1d6 Updated the NeoPixel example to also show using values from POST data 2023-04-30 23:26:49 +00:00
michalpokusa
dbdbacd7f4 Added Server.debug for verbose messages during development 2023-04-30 23:26:49 +00:00
michalpokusa
e5bf8311a6 Added Multiple servers example 2023-04-29 00:34:09 +00:00
michalpokusa
eba7a91146 Added Server.stop 2023-04-29 00:02:04 +00:00
michalpokusa
cd8146e421 Fix: Missing Copyright information 2023-04-28 13:45:17 +00:00
michalpokusa
240a2c4dbb Added home.html file to one of the examples 2023-04-28 13:13:04 +00:00
michalpokusa
19148a5d1e Extensive updates and expansion of docs and examples 2023-04-28 12:23:54 +00:00
JR Rickerson
6e1926a84a Use "/static" root path to avoid security concerns 2023-04-25 17:09:23 -04:00
JR Rickerson
c87d7dd2a5 Rename simple_serve example for consistency.
Many of the other CircuitPython libraries use the "simpletest"
nomenclature for their examples - rename the simplest example to match
the convention.
2023-04-25 16:15:33 -04:00