diff --git a/src/futils.cpp b/src/futils.cpp index fd9dcf46c2..8e0ecfce56 100644 --- a/src/futils.cpp +++ b/src/futils.cpp @@ -59,11 +59,11 @@ namespace fs = std::filesystem; #endif namespace Exiv2 { -constexpr std::array ENVARDEF{ +constexpr std::array ENVARDEF{ "/exiv2.php", "40", }; /// @brief default URL for http exiv2 handler and time-out -constexpr std::array ENVARKEY{ +constexpr std::array ENVARKEY{ "EXIV2_HTTP_POST", "EXIV2_TIMEOUT", }; /// @brief request keys for http exiv2 handler and time-out diff --git a/src/http.cpp b/src/http.cpp index c5560a06de..628047603d 100644 --- a/src/http.cpp +++ b/src/http.cpp @@ -54,7 +54,7 @@ static constexpr auto httpTemplate = #define FINISH (-999) #define OK(s) (200 <= (s) && (s) < 300) -static constexpr std::array blankLines{ +static constexpr std::array blankLines{ "\r\n\r\n", // this is the standard "\n\n", // this is commonly sent by CGI scripts };