mirror of
https://git.checksum.fail/alec/slon.git
synced 2025-12-08 12:09:55 +02:00
Everywhere: Make session->content_type() callable
This commit is contained in:
@@ -4,6 +4,6 @@ U0 @slon_api_v2_instance_get(SlonHttpSession* session)
|
||||
no_warn request_json;
|
||||
|
||||
StrPrint(scratch_buffer, "{\"domain\":\"%s\"}", db->o("instance")->@("uri"));
|
||||
@slon_http_set_content_type(session, "application/json; charset=utf-8");
|
||||
session->content_type("application/json; charset=utf-8");
|
||||
session->send(scratch_buffer);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user