Thx...
Now I have next problem 
piece of code:
...
QString line
= clientConnection
->readLine
();
while(line.length() > 0){
obsah = "";
header += line;
line = clientConnection->readLine();
}
...
...
QString header = "";
QString line = clientConnection->readLine();
while(line.length() > 0){
obsah = "";
header += line;
line = clientConnection->readLine();
}
...
To copy to clipboard, switch view to plain text mode
In header is now:
POST / HTTP/1.1
Host: localhost:8081
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; cs; rv:1.9.0.7) Gecko/2009021910 Firefox/3.0.7
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: cs,en-us;q=0.7,en;q=0.3
Accept-Encoding: gzip,deflate
Accept-Charset: windows-1250,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer: localhost/qt/
Content-Type: application/x-www-form-urlencoded
Content-Length: 26
xa=jalsu&odeslat=Z
In variable odeslat should be Zaindexuj. Line with variables is maximal 18 chars long. Can anyone help pls?
Bookmarks