Call middleware with new style invocation.
Review Request #12027 — Created Feb. 3, 2022 and submitted — Latest diff uploaded
The old
process_requestmethod for middleware was deprecated with the
move toMIDDLEWAREfrom the oldMIDDLEWARE_CLASSES. Our testcase
create_http_requestmethod does a bunch of stuff to build a fake HTTP
request, including running the session and message middleware to
populate attributes on the request. This change moves that invocation
over to the new style (instantiate with aget_responsemethod, and
then treat as a callable).
Ran unit tests.