May 2018
Beginner to intermediate
282 pages
7h 58m
English
In Python 3, according to PEP 3333 (amendments to the WSGI standard), we are careful not to mix data coming from or leaving via HTTP, which will be in bytes, as opposed to text within the framework, which will be native (Unicode) strings.
Essentially, for HttpRequest and HttpResponse objects, keep the following in mind:
Unlike Python 2, strings and bytes are not implicitly converted while performing comparisons or concatenations with each other. Strings means Unicode strings only.
Read now
Unlock full access