Skip to content

Commit bcc9626

Browse files
return early (refactor required soon)
This is getting messy. Will clean it up soon.
1 parent 9cfb1a1 commit bcc9626

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

httpbin/core.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1474,6 +1474,7 @@ def encoding_generic(charset, body):
14741474

14751475
if body:
14761476
response.data = base64.urlsafe_b64decode(body)
1477+
return response
14771478
elif normalized_charset in ["utf-8", "utf-16", "utf-32"]:
14781479
template_data = {
14791480
"title": "Unicode Demo",

0 commit comments

Comments
 (0)