Merge pull request #627 from hyasinfosec/main

Added User Agent
pull/630/head
Alexandre Dulaunoy 2023-07-11 06:35:41 +02:00 committed by GitHub
commit 93bae11e33
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -295,6 +295,7 @@ class RequestHandler:
headers = { headers = {
'Content-type': 'application/json', 'Content-type': 'application/json',
'X-API-Key': self.api_key, 'X-API-Key': self.api_key,
'User-Agent': 'Misp Modules'
} }
req_body = request_body(query_input, query_param, current) req_body = request_body(query_input, query_param, current)
try: try: