Private
Public Access
1
0
This commit is contained in:
2024-08-06 20:28:10 +02:00
parent 97e8d1d6ea
commit fd895744db
6 changed files with 36 additions and 5 deletions

View File

@@ -434,7 +434,7 @@ def strokedata_tcx(request):
"""
if request.method != 'POST': # pragma: no cover
dologging('apilog.log','GET request to TCX endpoint')
return HttpResponseNotAllowed("Method not supported")
return HttpResponseNotAllowed("Method not supported")
if 'application/xml' not in request.content_type.lower(): # pragma: no cover
dologging('apilog.log','POST data not application/xml, request to TCX endpoint')