mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-12-25 00:43:38 +00:00
Imported changes from xs.
This commit is contained in:
parent
7cc26cfb39
commit
2766fbd49c
1 changed files with 2 additions and 0 deletions
|
@ -27,6 +27,8 @@ static size_t _header_callback(char *buffer, size_t size,
|
|||
if (xs_str_in(l, ": ") != -1) {
|
||||
xs *knv = xs_split_n(l, ": ", 1);
|
||||
|
||||
xs_tolower(xs_list_get(knv, 0));
|
||||
|
||||
headers = xs_dict_append(headers, xs_list_get(knv, 0), xs_list_get(knv, 1));
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue