MCPcopy Index your code
hub / github.com/hugapi/hug / urlencoded

Function urlencoded

hug/input_format.py:66–68  ·  view source on GitHub ↗

Converts query strings into native Python objects

(body, charset="ascii", **kwargs)

Source from the content-addressed store, hash-verified

64
65@content_type("application/x-www-form-urlencoded")
66def urlencoded(body, charset="ascii", **kwargs):
67 """Converts query strings into native Python objects"""
68 return parse_query_string(text(body, charset=charset), False)
69
70
71@content_type("multipart/form-data")

Callers

nothing calls this directly

Calls 1

textFunction · 0.70

Tested by

no test coverage detected