From 3b2271c5855e9a6c5a971f94ceb6bd92094c2ce1 Mon Sep 17 00:00:00 2001 From: David Kocik Date: Fri, 27 Jan 2023 09:34:14 +0100 Subject: [PATCH] PrusaLink: changed value string for "true" value of Print-After-Upload --- src/slic3r/Utils/OctoPrint.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/slic3r/Utils/OctoPrint.cpp b/src/slic3r/Utils/OctoPrint.cpp index d1e59cd2bf..501d61423c 100644 --- a/src/slic3r/Utils/OctoPrint.cpp +++ b/src/slic3r/Utils/OctoPrint.cpp @@ -1019,7 +1019,7 @@ bool PrusaLink::put_inner(PrintHostUpload upload_data, std::string url, const st set_auth(http); // This is ugly, but works. There was an error at PrusaLink side that accepts any string at Print-After-Upload as true, thus False was also triggering print after upload. if (upload_data.post_action == PrintHostPostUploadAction::StartPrint) - http.header("Print-After-Upload", "True"); + http.header("Print-After-Upload", "?1"); http.set_put_body(upload_data.source_path) .header("Content-Type", "text/x.gcode")