Fix #1462 - add helper function for getting HTTP response status code.

This commit is contained in:
Sergey Lyubka committed 2022-02-12 16:51:37 +00:00
1 parent 1adf7f6b2b
commit da72dafbfb
5 files changed
+21

No files matched your search

+1
View File
@@ -62,3 +62,4 @@ int mg_http_upload(struct mg_connection *, struct mg_http_message *hm,
void mg_http_bauth(struct mg_connection *, const char *user, const char *pass);
struct mg_str mg_http_get_header_var(struct mg_str s, struct mg_str v);
size_t mg_http_next_multipart(struct mg_str, size_t, struct mg_http_part *);
int mg_http_status(const struct mg_http_message *hm);