      This Resource only emits HTML and uses a standard HTML emitter rather than the emitters.DocumentingHTMLEmitter class."""
      allowed_methods = anon_allowed_methods = ('GET',)
      emitters = (HTMLEmitter,)
  
      def get(self, request, auth, unique_id):
          """Return the highlighted snippet."""
          pathname = os.path.join(HIGHLIGHTED_CODE_DIR, unique_id)
          if not os.path.exists(pathname):
              return Resource(status.HTTP_404_NOT_FOUND)
          return open(pathname, 'r').read()
 
</s> remove     allowed_methods = anon_allowed_methods = ('GET',)
 </s> add  </s> remove             return Resource(status.HTTP_404_NOT_FOUND)
 </s> add             return Response(status.HTTP_404_NOT_FOUND) </s> remove     def delete(self, request, auth, unique_id):
 </s> add     def delete(self, request, unique_id): </s> remove             return Resource(status.HTTP_404_NOT_FOUND)
 </s> add             return Response(status.HTTP_404_NOT_FOUND) </s> remove     permissions = ( permissions.DeleteMePermission, )
 </s> add     permissions = ()
    def get(self, request, unique_id):
      This Resource only emits HTML and uses a standard HTML emitter rather than the emitters.DocumentingHTMLEmitter class."""
      allowed_methods = anon_allowed_methods = ('GET',)
      emitters = (HTMLEmitter,)
  
    def get(self, request, unique_id):
          """Return the highlighted snippet."""
          pathname = os.path.join(HIGHLIGHTED_CODE_DIR, unique_id)
          if not os.path.exists(pathname):
              return Resource(status.HTTP_404_NOT_FOUND)
          return open(pathname, 'r').read()
keep keep keep keep replace keep keep keep keep keep
 Fix up tests and examples after refactoring 
examples/pygments_api/views.py