mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-22 06:03:57 -06:00
Fix typo in content disposition header
This commit is contained in:
parent
318e5f6137
commit
01f5956871
1 changed files with 1 additions and 1 deletions
|
@ -154,7 +154,7 @@ class NetworkedPrinterOutputDevice(PrinterOutputDevice):
|
||||||
part = QHttpPart()
|
part = QHttpPart()
|
||||||
|
|
||||||
if not content_header.startswith("form-data;"):
|
if not content_header.startswith("form-data;"):
|
||||||
content_header = "form_data; " + content_header
|
content_header = "form-data; " + content_header
|
||||||
part.setHeader(QNetworkRequest.ContentDispositionHeader, content_header)
|
part.setHeader(QNetworkRequest.ContentDispositionHeader, content_header)
|
||||||
|
|
||||||
if content_type is not None:
|
if content_type is not None:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue