|
@@ -25,11 +25,10 @@ Answer *PostRequest::execute() const
|
|
message += host;
|
|
message += host;
|
|
message += "\r\nContent-Type: ";
|
|
message += "\r\nContent-Type: ";
|
|
message += contentType;
|
|
message += contentType;
|
|
- message += "\r\nContent-Length: ";
|
|
|
|
|
|
+ message += "; charset=latin-1\r\nContent-Length: ";
|
|
message += data.getLength();
|
|
message += data.getLength();
|
|
message += "\r\n\r\n";
|
|
message += "\r\n\r\n";
|
|
message += data;
|
|
message += data;
|
|
- message += "\r\n";
|
|
|
|
Klient httpK;
|
|
Klient httpK;
|
|
if( !httpK.verbinde( port, host ) )
|
|
if( !httpK.verbinde( port, host ) )
|
|
return 0;
|
|
return 0;
|