- Timestamp:
- Oct 6, 2006, 10:18:19 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/bncgetthread.cpp
r200 r202 83 83 hlp.setPath(mountPoint.path()); 84 84 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"; 101 90 102 91 msg += reqStr;
Note:
See TracChangeset
for help on using the changeset viewer.