Skip to content

Commit cc67443

Browse files
Fix version in default user agent
According to the RFCs [1][2], the version is supposed to be separated from the product by a slash, not by a space. [1]: https://datatracker.ietf.org/doc/html/rfc2616#section-3.8 [2]: https://datatracker.ietf.org/doc/html/rfc7231#section-5.5.3
1 parent 2a6e2d3 commit cc67443

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

SPARQLWrapper/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
__version__ = "2.0.1a0"
1313
"""The version of SPARQLWrapper"""
1414

15-
__agent__: str = f"sparqlwrapper {__version__} (rdflib.github.io/sparqlwrapper)"
15+
__agent__: str = f"sparqlwrapper/{__version__} (rdflib.github.io/sparqlwrapper)"
1616

1717

1818
from .SmartWrapper import SPARQLWrapper2

0 commit comments

Comments
 (0)