title: Arduino Yun HttpClient Example malfunction
body: <p>This is my first time posting on Stack Overflow, so please excuse/point out ways I have transgressed in formatting this question, and I will try to do better next time. I am running the HttpClient example from what I believe is the "Bridge" library on my Yun. Instead of printing out ASCII like it is supposed to, it prints this:</p>
  
  <pre><code>&lt;html&gt;
  &lt;head&gt;&lt;title&gt;301 Moved Permanently&lt;/title&gt;&lt;/head&gt;
  &lt;body bgcolor="white"&gt;
  &lt;center&gt;&lt;h1&gt;301 Moved Permanently&lt;/h1&gt;&lt;/center&gt;
  &lt;hr&gt;&lt;center&gt;nginx/1.4.2&lt;/center&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>This is the code that is running:</p>
  
  <pre><code>#include &lt;Bridge.h&gt;
  #include &lt;HttpClient.h&gt;
  
  void setup() {
    // Bridge takes about two seconds to start up
    // it can be helpful to use the on-board LED
    // as an indicator for when it has initialized
    pinMode(13, OUTPUT);
    digitalWrite(13, LOW);
    Bridge.begin();
    digitalWrite(13, HIGH);
  
    SerialUSB.begin(9600);
  
    while (!SerialUSB); // wait for a serial connection
  }
  
  void loop() {
    // Initialize the client library
    HttpClient client;
  
    // Make a HTTP request:
    client.get("http://www.arduino.cc/asciilogo.txt");
  
    // if there are incoming bytes available
    // from the server, read them and print them:
    while (client.available()) {
      char c = client.read();
      SerialUSB.print(c);
    }
    SerialUSB.flush();
  
    delay(5000);
  }
  </code></pre>
  
  <p>I believe my Yun is properly connected to my Wifi network but I know very little about how it works or how the HTML gets processed, so any sort of explanation would be helpful.</p>
  
  <p>Thanks!</p>