(self, request)
return json.dumps({"count": count})
Responds with a 200 and the number of messages resulting in 500s
        i.e. when the `to` address is `bademail@example.com`.

        This API endpoint is not supported by Mailgun and is present for testing
        purposes.
Responds with a 200 and the number of messages resulting in 500s
        i.e. when the `to` address is `bademail@example.com`.
Responds with a 200 and the number of messages resulting in 500s i . e . when the to address is bademail@example . com .
def get_messages_500_count(self, request):
        """
        Responds with a 200 and the number of messages resulting in 500s
        i.e. when the `to` address is `bademail@example.com`.

        This API endpoint is not supported by Mailgun and is present for testing
        purposes.
        """
        request.setResponseCode(200)
        return json.dumps({"count": count})
def get_messages_500_count ( self , request ) : request . setResponseCode ( 200 ) return json . dumps ( { "count" : count } )