FACT++  1.0
void ConnectionWeather::PostRequest ( )
inlineprotected

Definition at line 270 of file tngweather.cc.

271  {
272  const string cmd =
273  "GET "+fSite+" HTTP/1.1\r\n"
274  "User-Agent: FACT tngweather\r\n"
275  "Accept: */*\r\n"
276  "Host: "+URL()+"\r\n"
277  "Connection: close\r\n"//Keep-Alive\r\n"
278  "Content-Type: application/rss+xml\r\n"
279  "User-Agent: FACT\r\n"
280  "Pragma: no-cache\r\n"
281  "Cache-Control: no-cache\r\n"
282  "Expires: 0\r\n"
283  "Cache-Control: max-age=0\r\n"
284  "\r\n";
285 
286  PostMessage(cmd);
287  }