title: Django rest framework + simple JWT - permission classes always enabled
body: <p>I'm using <a href="https://github.com/SimpleJWT/django-rest-framework-simplejwt" rel="nofollow noreferrer">simple JWT</a> for authentication in my rest API.</p>
  <p>In my function based views, I use <code>@permission_classes([IsAuthenticated])</code> to define that the JWT token is required to access that view.</p>
  <p>However, I have some views that are not supposed to require the authentication token, therefore I didn't insert the <code>@permission_classes([IsAuthenticated])</code>, but when I test the view it still requires the token.</p>
  <p>Here's an example:</p>
  <pre><code>@api_view(['POST'])
  def userCreate(request):
      serializer = UserSerializer(data=request.data)
      if serializer.is_valid():
          serializer.save()
          return Response(status=201)
      
      return Response(serializer.errors, status=400)
  
  </code></pre>
  <p>When I try to access this view the server replies with a <strong>401</strong> and says:</p>
  <pre><code>{
      &quot;detail&quot;: &quot;Authorization header must contain two space-delimited values&quot;,
      &quot;code&quot;: &quot;bad_authorization_header&quot;
  }
  </code></pre>
  <p>In my <strong>settings.py</strong> file I set:</p>
  <pre><code>...
  REST_FRAMEWORK = {
      'DEFAULT_AUTHENTICATION_CLASSES': [
          'rest_framework_simplejwt.authentication.JWTAuthentication',
      ],
      'DEFAULT_PAGINATION_CLASS': 'rest_framework.pagination.PageNumberPagination',
      'PAGE_SIZE': 10
  }
  </code></pre>