Set the HTML content type.

This commit is contained in:
NissimHadar 2018-10-08 12:40:07 -07:00
parent 21c917b503
commit 179c2fa01d
2 changed files with 2 additions and 2 deletions

View file

@ -283,7 +283,7 @@ void AWSInterface::updateAWS() {
}
stream << "data = open('" << _workingDirectory << "/" << _resultsFolder << "/" << HTML_FILENAME << "', 'rb')\n";
stream << "s3.Bucket('hifi-content').put_object(Bucket='hifi-content', Key='nissim/" << _resultsFolder << "/" << HTML_FILENAME << "', Body=data)\n";
stream << "s3.Bucket('hifi-content').put_object(Bucket='hifi-content', Key='nissim/" << _resultsFolder << "/" << HTML_FILENAME << "', Body=data, ContentType='text/html')\n";
file.close();

View file

@ -36,7 +36,7 @@ AutoTester::AutoTester(QWidget* parent) : QMainWindow(parent) {
_ui.statusLabel->setText("");
_ui.plainTextEdit->setReadOnly(true);
setWindowTitle("Auto Tester - v6.1");
setWindowTitle("Auto Tester - v6.2");
// Coming soon to an auto-tester near you...
//// _helpWindow.textBrowser->setText()