mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-20 11:19:56 +00:00
Support username:pass authority in HTTP/WS urls
PUBLISHED_FROM=39a1c2a271c5cd961670e11c830105c17ba0b2e4
This commit is contained in:
1 parent
5e91d919e0
commit
1889e12b54
7 files changed
+192
-20
No files matched your search
@@ -0,0 +1,14 @@
|
||||
---
|
||||
title: "mg_get_http_basic_auth()"
|
||||
decl_name: "mg_get_http_basic_auth"
|
||||
symbol_kind: "func"
|
||||
signature: |
|
||||
int mg_get_http_basic_auth(struct http_message *hm, char *user, size_t user_len,
|
||||
char *pass, size_t pass_len);
|
||||
---
|
||||
|
||||
Gets and parses the Authorization: Basic header
|
||||
Returns -1 if no Authorization header is found, or if
|
||||
mg_parse_http_basic_auth
|
||||
fails parsing the resulting header.
|
||||
|
||||
Reference in new issue
Block a user