mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2025-06-02 22:57:34 +02:00
A robust HTTP client with pipelining support and automatic retries. Using a single object to make multiple requests is more efficient because requests are pipelined whenever possible. Requests are automatically retried when the connection has been closed by the server. Any 5xx response is also retried. Only the HTTPS protocol is currently supported.
17 lines
737 B
C
17 lines
737 B
C
/***********************************************************************************************************************************
|
|
Http Common
|
|
|
|
Http common functions.
|
|
***********************************************************************************************************************************/
|
|
#ifndef COMMON_IO_HTTP_COMMON_H
|
|
#define COMMON_IO_HTTP_COMMON_H
|
|
|
|
#include "common/type/string.h"
|
|
|
|
/***********************************************************************************************************************************
|
|
Functions
|
|
***********************************************************************************************************************************/
|
|
String *httpUriEncode(const String *uri, bool path);
|
|
|
|
#endif
|