Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,15 @@ https://tcms-api.readthedocs.io/en/latest/modules/tcms_api.html
CHANGELOG
---------

v15.0 (22 Sep 2025)
~~~~~~~~~~~~~~~~~~~

- Include host URL in Referer header
- Updates for newer pylint
- Updates for newer Sphynx
- Update GitHub actions


v13.3 (10 Jun 2024)
~~~~~~~~~~~~~~~~~~~

Expand Down
2 changes: 1 addition & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,4 +77,4 @@
htmlhelp_basename = "tcmsapi"

# Example configuration for intersphinx: refer to the Python standard library.
intersphinx_mapping = {"http://docs.python.org/": None}
intersphinx_mapping = {"python": ("https://docs.python.org/3", None)}
2 changes: 1 addition & 1 deletion tcms_api/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "13.3"
__version__ = "15.0"
4 changes: 3 additions & 1 deletion tcms_api/xmlrpc.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@

class TCMSProxy(ServerProxy):
def __request(self, methodname, params):
self._ServerProxy__transport._extra_headers = [("Referer", methodname)]
self._ServerProxy__transport._extra_headers = [
("Referer", f"{methodname}@{self._ServerProxy__host}")
]
return self._ServerProxy__request(methodname, params)

def __getattr__(self, name):
Expand Down
Loading