title: java okhttp adding headers using for loop dynamically
body: <p>Many examples showed adding header should:</p>
  
  <pre><code>Request request = new Request.Builder()
      .url("https://api.github.com/repos/square/okhttp/issues")
      .header("User-Agent", "OkHttp Headers.java")
      .addHeader("Accept", "application/json; q=0.5")
      .addHeader("Accept", "application/vnd.github.v3+json")
      .build();
  </code></pre>
  
  <p>But I want to dynamically add headers as user's header requirements, how can I implement it?</p>
  
  <pre><code>Headers h = new Headers.Builder().build();
  for (HttpHeader hh : ht.HttpRequestHeader) {
      h.newBuilder().add(hh.Name, hh.Value);
  }  //&lt;&lt;---Nothing changed!!!!!
  </code></pre>