mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
dirmngr: New function http_status2string.
* dirmngr/http.c (http_status2string): New.
--
Right now only the standard 5xx codes.
Signed-off-by: Werner Koch <wk@gnupg.org>
(cherry picked from commit dc61f4ecea
)
This commit is contained in:
parent
f7ff25edad
commit
b9d71ea64a
2 changed files with 26 additions and 0 deletions
|
@ -197,5 +197,7 @@ gpg_error_t http_prepare_redirect (http_redir_info_t *info,
|
|||
unsigned int status_code,
|
||||
const char *location, char **r_url);
|
||||
|
||||
const char *http_status2string (unsigned int status);
|
||||
|
||||
|
||||
#endif /*GNUPG_COMMON_HTTP_H*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue