Changeset 202 in ntrip for trunk/BNC


Ignore:
Timestamp:
Oct 6, 2006, 10:18:19 AM (18 years ago)
Author:
mervart
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bncgetthread.cpp

    r200 r202  
    8383  hlp.setPath(mountPoint.path());
    8484
    85   QByteArray reqStr;
    86   if ( proxyHost.isEmpty() ) {
    87   if (hlp.path().indexOf("/") != 0) hlp.setPath("/");
    88   reqStr = "GET " + hlp.path().toAscii() +
    89            " HTTP/1.0\r\n"
    90            "User-Agent: NTRIP BNC 1.0\r\n"
    91            "Authorization: Basic " +
    92            userAndPwd.toBase64() + "\r\n\r\n";
    93                              } else
    94                              {
    95   reqStr = "GET " + hlp.toEncoded() +
    96            " HTTP/1.0\r\n"
    97            "User-Agent: NTRIP BNC 1.0\r\n"
    98            "Authorization: Basic " +
    99            userAndPwd.toBase64() + "\r\n\r\n";
    100                              }
     85  QByteArray  reqStr = "GET " + hlp.path().toAscii() +
     86                       " HTTP/1.0\r\n"
     87                       "User-Agent: NTRIP BNC 1.0\r\n"
     88                       "Authorization: Basic " +
     89                       userAndPwd.toBase64() + "\r\n\r\n";
    10190
    10291  msg += reqStr;
Note: See TracChangeset for help on using the changeset viewer.