Back to Falcon

1026.Newandimproved

docs/_newsfragments/1026.newandimproved.rst

4.3.0a1322 B
Original Source

The test client (:func:~falcon.testing.simulate_request and friends) now accepts a msgpack keyword argument, analogous to the existing json one. When provided, the value is serialized as a MessagePack document and used as the request body, and the Content-Type header is set to :attr:~falcon.MEDIA_MSGPACK.