mirror of
https://git.checksum.fail/alec/slon.git
synced 2025-12-08 12:09:55 +02:00
Slon/Modules/Http: Remove unused function @slon_http_set_status_code()
This commit is contained in:
@@ -156,11 +156,6 @@ U0 @slon_http_set_content_type(SlonHttpSession* session, U8* value)
|
||||
@slon_http_set_header(session, "content-type", value);
|
||||
}
|
||||
|
||||
U0 @slon_http_set_status_code(SlonHttpSession* session, I64 status_code)
|
||||
{
|
||||
session->response->status_code = status_code;
|
||||
}
|
||||
|
||||
U0 @slon_http_send_ap_json(SlonHttpSession* session, U64 json)
|
||||
{
|
||||
// a stringified copy of "json" is created, a strnew is sent, we clean up stringified copy, sender cleans up "json"
|
||||
|
||||
Reference in New Issue
Block a user