Skip to content

Commit d0583f4

Browse files
committed
Removed the repeat of the error message in the HTTP reason string. Fixes issue ietf-tools#2378.
- Legacy-Id: 14168
1 parent d6fa669 commit d0583f4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ietf/submit/views.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ def api_submit(request):
7979
"Automated submission entrypoint"
8080
submission = None
8181
def err(code, text):
82-
return HttpResponse(text, status=code, reason=text, content_type='text/plain')
82+
return HttpResponse(text, status=code, content_type='text/plain')
8383

8484
if request.method == 'GET':
8585
return render(request, 'submit/api_submit_info.html')

0 commit comments

Comments
 (0)