Skip to content

Commit c2edaa5

Browse files
committed
Removed tapconn User-Agent - info already available in tapclient parameter
1 parent 147e8fd commit c2edaa5

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

astroquery/utils/tap/conn/tapconn.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
import httplib
2424
import mimetypes
2525
import time
26-
from astroquery import version
2726

2827
from six.moves.urllib.parse import urlencode
2928

@@ -125,8 +124,7 @@ def __interna_init(self):
125124
self.__tapContext = None
126125
self.__postHeaders = {
127126
"Content-type": CONTENT_TYPE_POST_DEFAULT,
128-
"Accept": "text/plain",
129-
"User-Agent": 'astropy:astroquery.{vers}'.format(vers=version.version)
127+
"Accept": "text/plain"
130128
}
131129
self.__getHeaders = {}
132130
self.__cookie = None

0 commit comments

Comments
 (0)