--- parser3/src/main/pa_http.C 2024/09/28 14:37:54 1.127 +++ parser3/src/main/pa_http.C 2024/11/04 03:53:25 1.129 @@ -1,7 +1,7 @@ /** @file Parser: http support functions. - Copyright (c) 2001-2023 Art. Lebedev Studio (http://www.artlebedev.com) + Copyright (c) 2001-2024 Art. Lebedev Studio (http://www.artlebedev.com) Authors: Konstantin Morshnev , Alexandr Petrosian */ @@ -14,7 +14,7 @@ #include "pa_vfile.h" #include "pa_random.h" -volatile const char * IDENT_PA_HTTP_C="$Id: pa_http.C,v 1.127 2024/09/28 14:37:54 moko Exp $" IDENT_PA_HTTP_H; +volatile const char * IDENT_PA_HTTP_C="$Id: pa_http.C,v 1.129 2024/11/04 03:53:25 moko Exp $" IDENT_PA_HTTP_H; // defines @@ -832,7 +832,7 @@ File_read_http_result pa_internal_file_r } if(request_body) - head << "Content-Length: " << format(post_size, "%u") << CRLF; + head << "Content-Length: " << pa_uitoa(post_size) << CRLF; head << CRLF;