title: response.get('X-Frame-Options') is not None : when more than two query params are passed
body: <p>I'm trying to make a  GET API call through DRF.</p>
  
  <p>My URL looks like this:
      <a href="http://127.0.0.1:8000/patha/pathb/pathc/pathd/cd7701b?name=IT&amp;size=20&amp;workflow=rv" rel="noreferrer">http://127.0.0.1:8000/patha/pathb/pathc/pathd/cd7701b?name=IT&amp;size=20&amp;workflow=rv</a></p>
  
  <p>But It's producing an error:</p>
  
  <pre><code>   if response.get('X-Frame-Options') is not None:
     AttributeError: 'NoneType' object has no attribute 'get'
  </code></pre>
  
  <p>but when I'm just sending two query params:</p>
  
  <pre><code>  http://127.0.0.1:8000/patha/pathb/pathc/pathd/cd007b?name=IT&amp;size=20
  </code></pre>
  
  <p>or, any combination of two params out of those three it's reaching the view method.</p>
  
  <p>My view Method looks like this:</p>
  
  <pre><code> class MyRtList(generics.ListAPIView, customMixin):
   ...
   # Here I'd like to use all three inputs:
   # cd007b
   # `name` and `size`
  </code></pre>
  
  <p>And urls.py:</p>
  
  <pre><code>    url(r'patha/pathb/pathc/(?P&lt;name&gt;[^/]+)?$',views.MyRtList.as_view()),    
  </code></pre>
  
  <p>I was going through Doc. example shown with param1 and param2.
  Is it maximum to use two query param? 
  Is it forbidden to use mixed data like cd007b and query param?
  Because it's getting stuck with 3 params but not with 2 params.</p>
  
  <p>Where is it going wrong?</p>