mirror of
https://github.com/curl/curl.git
synced 2026-04-14 22:41:40 +03:00
http_aws_sigv4: improve sigv4 url encoding and canonicalization
Closes #17129
This commit is contained in:
parent
5763449112
commit
c19465ca55
11 changed files with 695 additions and 129 deletions
|
|
@ -24,8 +24,18 @@
|
|||
*
|
||||
***************************************************************************/
|
||||
#include "curl_setup.h"
|
||||
#include "curlx/dynbuf.h"
|
||||
#include "urldata.h"
|
||||
#include "curlx/strparse.h"
|
||||
|
||||
/* this is for creating aws_sigv4 header output */
|
||||
CURLcode Curl_output_aws_sigv4(struct Curl_easy *data);
|
||||
|
||||
#ifdef UNITTESTS
|
||||
UNITTEST CURLcode canon_path(const char *q, size_t len,
|
||||
struct dynbuf *new_path,
|
||||
bool normalize);
|
||||
UNITTEST CURLcode canon_query(const char *query, struct dynbuf *dq);
|
||||
#endif
|
||||
|
||||
#endif /* HEADER_CURL_HTTP_AWS_SIGV4_H */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue