httpj 0.27.0

Creator: rpa-with-ash

Last updated:

Add to Cart

Description:

httpj 0.27.0

HTTPJ -A fork of httpx with support for a custom JSON serializer.









Install HTTPJ using pip:
$ pip install httpj

Now, let's get started:
>>> import httpj
>>> import orjson
>>> r = httpj.post('https://www.example.org/', json={"foo": "bar"}, json_serialize=orjson.dumps)
>>> r
<Response [200 OK]>
>>> r.status_code
200
>>> r.headers['content-type']
'text/html; charset=UTF-8'
>>> r.text
'<!doctype html>\n<html>\n<head>\n<title>Example Domain</title>...'

Release Information
Fixed

Fix app type signature in ASGITransport. (#3109)


Full changelog

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.