You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, for each request, headers are being parsed, decoded to str's and stored in req.headers dict. The idea is to skip decoding to str's to save on memory pressure. But a lot of request handlers don't care about headers, so add a mode when headers aren't stored, but skipped instead. There also can be a need for request handler to parse headers itself, so allow that too. Allow to set the default header parsing mode for the WebApp (the default default will be "skip headers"). Finally, factor out header parsing to a method, to allow subclasses to override it.
The text was updated successfully, but these errors were encountered:
pfalcon
changed the title
req.headers dicstionary to contain bytes instead of str, and be optional at all
req.headers dictionary to contain bytes instead of str, and be optional at all
Oct 31, 2017
pfalcon
changed the title
req.headers dictionary to contain bytes instead of str, and be optional at all
1.3: req.headers dictionary to contain bytes instead of str, and be optional at all
Dec 16, 2017
Currently, for each request, headers are being parsed, decoded to str's and stored in req.headers dict. The idea is to skip decoding to str's to save on memory pressure. But a lot of request handlers don't care about headers, so add a mode when headers aren't stored, but skipped instead. There also can be a need for request handler to parse headers itself, so allow that too. Allow to set the default header parsing mode for the WebApp (the default default will be "skip headers"). Finally, factor out header parsing to a method, to allow subclasses to override it.
The text was updated successfully, but these errors were encountered: