C++ (Qt)http = new QHttp(this);connect(http, SIGNAL(done(bool)), this, SLOT(done(bool)));http->setHost("www.ya.ru"); QHttpRequestHeader header;header.setRequest("GET", "/");header.setValue("Host", "www.ya.ru");QStringList list = ui->headers->toPlainText().split('\n', QString::SkipEmptyParts);for (int i = 0; i < list.size(); ++i) header.setValue(list[i].section(": ", 0, 0), list[i].section(": ", 1)); http->request(header);