so now by pass & user are 3 request!

and must switch if user & pass ist set.... or only a simple get ....

Qt Code:
  1. void Gui_Wget::readResponseHeader(const QHttpResponseHeader &responseHeader)
  2. {
  3. if (responseHeader.statusCode() != 200) {
  4. QMessageBox::information(this, tr("HTTP"),
  5. tr("Download failed message: %1. \nRemote file %2 not respond!")
  6. .arg(responseHeader.reasonPhrase() , url ));
  7. httpRequestAborted = true;
  8. http->abort();
  9. stopButton->setEnabled(false);
  10. emit ready_action();
  11. return;
  12. }
  13. }
To copy to clipboard, switch view to plain text mode