Everywhere: Make session->content_type() callable
This commit is contained in:
parent
614e68194b
commit
ff5a07dc04
10 changed files with 43 additions and 26 deletions
|
@ -25,7 +25,7 @@ U0 @slon_web_user_get(SlonHttpSession* session)
|
|||
String.Append(html_data, "<script>getStatuses(");
|
||||
String.Append(html_data, user_file_data);
|
||||
String.Append(html_data, ");</script>");
|
||||
@slon_http_set_content_type(session, "text/html");
|
||||
session->content_type("text/html");
|
||||
session->send(html_data, StrLen(html_data));
|
||||
|
||||
Free(html_file_data);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue