title: How to return a list object in httpresponse Django
body: <p>Does anyone know how to return a list object when you do HttpResponse.</p>
  
  <p>I have tried</p>
  
  <pre><code>HttpResponse(['a'.'b'])
  </code></pre>
  
  <p>but this obviously doesn't work.</p>
  
  <p>I have also tried the following</p>
  
  <pre><code>return HttpResponse(Context(['a','b']),mimetype='text/plain')
  </code></pre>
  
  <p>but this returns some extra thing which i dont want</p>
  
  <pre><code>['a', 'b']{'False': False, 'None': None, 'True': True}
  </code></pre>
  
  <p>i just want it to return</p>
  
  <pre><code>['a', 'b']
  </code></pre>
  
  <p>Thanks</p>