From cc6744371a3eeff6f001c6cc1309612b15e70872 Mon Sep 17 00:00:00 2001 From: Lucas Werkmeister Date: Sat, 19 Mar 2022 17:43:26 +0100 Subject: [PATCH] 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 --- SPARQLWrapper/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SPARQLWrapper/__init__.py b/SPARQLWrapper/__init__.py index 885978b..c4a4d03 100644 --- a/SPARQLWrapper/__init__.py +++ b/SPARQLWrapper/__init__.py @@ -12,7 +12,7 @@ __version__ = "2.0.1a0" """The version of SPARQLWrapper""" -__agent__: str = f"sparqlwrapper {__version__} (rdflib.github.io/sparqlwrapper)" +__agent__: str = f"sparqlwrapper/{__version__} (rdflib.github.io/sparqlwrapper)" from .SmartWrapper import SPARQLWrapper2