MCPcopy
hub / github.com/postmanlabs/httpbin / jsonify

Function jsonify

httpbin/core.py:44–48  ·  view source on GitHub ↗
(*args, **kwargs)

Source from the content-addressed store, hash-verified

42)
43
44def jsonify(*args, **kwargs):
45 response = flask_jsonify(*args, **kwargs)
46 if not response.data.endswith(b'\n'):
47 response.data += b'\n'
48 return response
49
50# Prevent WSGI from correcting the casing of the Location header
51BaseResponse.autocorrect_location_header = False

Callers 15

view_originFunction · 0.85
view_uuidFunction · 0.85
view_headersFunction · 0.85
view_user_agentFunction · 0.85
view_getFunction · 0.85
view_anythingFunction · 0.85
view_postFunction · 0.85
view_putFunction · 0.85
view_patchFunction · 0.85
view_deleteFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…