diff options
author | default <nobody@localhost> | 2022-09-20 13:36:20 +0200 |
---|---|---|
committer | default <nobody@localhost> | 2022-09-20 13:36:20 +0200 |
commit | 2766fbd49cfba346dbaea1914adc4118e1176e1e (patch) | |
tree | 9be4b28dbff0a9024686c831ad17474290379ed2 | |
parent | 7cc26cfb392d67e61fcf3d6fb7a40608b671aa6b (diff) |
Imported changes from xs.
-rw-r--r-- | xs_curl.h | 2 |
1 files changed, 2 insertions, 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 |