mirror of
https://github.com/markqvist/NomadNet.git
synced 2025-12-17 06:44:21 +01:00
Implemented page caching and cache control headers
This commit is contained in:
@@ -72,6 +72,10 @@ def parse_line(line, state, url_delegate):
|
||||
if first_char == "\\":
|
||||
line = line[1:]
|
||||
|
||||
# Check for comments
|
||||
elif first_char == "#":
|
||||
return None
|
||||
|
||||
# Check for section heading reset
|
||||
elif first_char == "<":
|
||||
state["depth"] = 0
|
||||
|
||||
Reference in New Issue
Block a user