title: The content of cookie changed after a day
body: <p>I create a login system for my android app and I get this error:</p>
  
  <pre><code>org.json.JSONException: Value &lt;html&gt;&lt;body&gt;&lt;script of type java.lang.String cannot be converted to JSONObject
  </code></pre>
  
  <p>I solved this problem with <a href="https://stackoverflow.com/a/40684122/9422637">this solution</a> and override my <code>getHeader()</code> method like this:</p>
  
  <pre><code>class JsonArrayRequest1 extends JsonArrayRequest {
      private static final String KEY_COOKIE = "Cookie";
      private static final String VALUE_CONTENT = "__test=641d2ca6fcd49bad844a6d51bc3f7566; path=/";
  
      public JsonArrayRequest1(int get, String s, Object o, Response.Listener&lt;JSONArray&gt; listener, Response.ErrorListener errorListener) {
          super(get, s, null, listener, errorListener);
      }
  
      @Override
      public Map&lt;String, String&gt; getHeaders() throws AuthFailureError {
          Map&lt;String, String&gt; headers = new HashMap&lt;&gt;(); 
           headers.put(KEY_COOKIE, VALUE_CONTENT);
          return headers;
      }
  }
  </code></pre>
  
  <p>This solution return the true result. After a day, the content value of <code>testcookie-nginx-module</code> cookie changed. Thus the result is <code>null</code>.</p>
  
  <p><code>testcookie-nginx-module</code> is a simple security antibots </p>
  
  <p>This is detail of <code>testcookie-nginx-module</code> in Opera browser:</p>
  
  <p><a href="https://i.stack.imgur.com/9R5Gr.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/9R5Gr.png" alt="cookie detail"></a></p>
  
  <p>Now the question is:
   <strong>Is it possible to keep the content value of <code>testcookie-nginx-module</code> cookie the same?</strong> or <strong>Is there best way to get true result after changing <code>testcookie-nginx-module</code> content?</strong></p>