title: Unexpected char 0x0a in header value when using OkHttp client in Android
body: <p>When sending a Base64 encoded string as header using Http, I am getting error response as</p>
  
  <p><code>Unexpected char 0x0a at 28 in header value: I99Uy+HjG5PpEhmi8vZgm0W7KDQ=</code></p>
  
  <p>Usage : </p>
  
  <p><code>String encodedHeader = Base64.encodeToString(value.getBytes(), Base64.DEFAULT);
  header.put("auth", encodedHeader);</code></p>