def _get_headers()

in bugbounty_gpt/handlers/bugcrowd_api.py [0:0]


    def _get_headers(content_type='application/vnd.bugcrowd+json'):
        """
        Returns common headers for Bugcrowd API requests.

        :param content_type: Content type for the Accept header. Default is 'application/vnd.bugcrowd+json'.
        :return: Dictionary containing the required headers.
        """
        return {
            'Accept': content_type,
            'Authorization': f'Token {BUGCROWD_API_KEY}'
        }