1
0
mirror of https://github.com/github/octodns.git synced 2024-05-11 05:55:00 +00:00

Add User-Agent header to Dyn monitors

This commit is contained in:
Ross McFarland
2017-05-11 08:43:49 -07:00
parent a6948a3b0b
commit 1aae060f6d
2 changed files with 4 additions and 2 deletions

View File

@@ -533,7 +533,7 @@ class TestDynProviderGeo(TestCase):
'notifier': '',
'options': {
'expected': '',
'header': '',
'header': 'User-Agent: Dyn Monitor',
'host': 'unit.tests',
'path': '/_dns',
'port': '443',
@@ -649,7 +649,7 @@ class TestDynProviderGeo(TestCase):
u'notifier': u'',
u'options': {
u'expected': u'',
u'header': u'',
'header': 'User-Agent: Dyn Monitor',
u'host': u'geo.unit.tests.',
u'path': u'/_dns',
u'port': u'443',
@@ -684,6 +684,7 @@ class TestDynProviderGeo(TestCase):
'options': {
'path': u'/_dns',
'host': u'geo.unit.tests',
'header': 'User-Agent: Dyn Monitor',
'port': 443,
'timeout': 10
}