remove demo pages, rename themes, add Content-Length header
This commit is contained in:
parent
0f614c88f8
commit
66a9fafd26
10 changed files with 1652 additions and 2370 deletions
|
|
@ -65,11 +65,11 @@ def _get_bookmark_token():
|
|||
return token
|
||||
|
||||
|
||||
def _respond(body_html, status=200, use_default=False):
|
||||
def _respond(body_html, status=200, use_default=False, head_html=""):
|
||||
return {
|
||||
"status": status,
|
||||
"content_type": "text/html; charset=utf-8",
|
||||
"body": wrap_page(body_html, use_default=use_default),
|
||||
"body": wrap_page(body_html, use_default=use_default, head_html=head_html),
|
||||
"headers": {},
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue