fixes
This commit is contained in:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user