title: (Android) D/OkHttp: 400 Bad Request
body: <pre><code>@Headers("Authorization: " + BuildConfig.CLIENT_ID + " " + BuildConfig.CLIENT_SECRET)
  @GET("get/list")
  Observable&lt;List&lt;Post&gt;&gt; getList();
  </code></pre>
  
  <p>Inside the get folder u can find such .htaccess:</p>
  
  <pre><code>RewriteEngine On
  AuthName "Staff Only:3"
  AuthType Basic
  AuthUserFile .../api/get/.htpasswd
  require valid-user
  </code></pre>
  
  <p>Get/list returns json array of posts. There r no 400 code in that php code. I also sure in my json response, its correct(confirmed by jsonschema2pojo.org)
  The Header(codeblock 1) is really authorize me.</p>
  
  <p>And...</p>
  
  <pre><code>D/OkHttp: --&gt; GET http://*********/api/get/list http/1.1
  D/OkHttp: Authorization: r*******m *******6
  D/OkHttp: --&gt; END GET
  ...
  D/OkHttp: &lt;-- 400 Bad Request http://*********/api/get/list (18711ms)
  D/OkHttp: Date: Sun, 19 Mar 2017 20:13:11 GMT
  D/OkHttp: Content-Type: text/html
  D/OkHttp: Content-Length: 177
  D/OkHttp: Connection: close
  D/OkHttp: Server: -nginx
  D/OkHttp: CF-RAY: -
  D/OkHttp: &lt;html&gt;
  D/OkHttp: &lt;head&gt;&lt;title&gt;400 Bad Request&lt;/title&gt;&lt;/head&gt;
  D/OkHttp: &lt;body bgcolor="white"&gt;
  D/OkHttp: &lt;center&gt;&lt;h1&gt;400 Bad Request&lt;/h1&gt;&lt;/center&gt;
  D/OkHttp: &lt;hr&gt;&lt;center&gt;cloudflare-nginx&lt;/center&gt;
  D/OkHttp: &lt;/body&gt;
  D/OkHttp: &lt;/html&gt;
  D/OkHttp: &lt;-- END HTTP (177-byte body)
  </code></pre>
  
  <p>Wth? Why? Pls tell me whats the problem? Could u help me fix this?</p>