You've already forked pgbackrest
mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2025-07-13 01:00:23 +02:00
Add support for HTTP/1.0.
HTTP/1.0 connections are closed by default after a single response. Other than that, treat 1.0 the same as 1.1. HTTP/1.0 allows different date formats that we can't parse but for now, at least, we don't need any date headers from 1.0 requests.
This commit is contained in:
@ -14,6 +14,7 @@ HTTP Request
|
||||
HTTP constants
|
||||
***********************************************************************************************************************************/
|
||||
STRING_EXTERN(HTTP_VERSION_STR, HTTP_VERSION);
|
||||
STRING_EXTERN(HTTP_VERSION_10_STR, HTTP_VERSION_10);
|
||||
|
||||
STRING_EXTERN(HTTP_VERB_DELETE_STR, HTTP_VERB_DELETE);
|
||||
STRING_EXTERN(HTTP_VERB_GET_STR, HTTP_VERB_GET);
|
||||
|
Reference in New Issue
Block a user