diff options
author | Jose M. Guisado <jguisado@soleta.eu> | 2023-06-13 10:51:42 +0200 |
---|---|---|
committer | Jose M. Guisado <jguisado@soleta.eu> | 2023-06-14 14:50:55 +0200 |
commit | 0c03d82ca8792e5e0c41460f3aa5cdf6990a3412 (patch) | |
tree | 10e7e6d2433a46c945b6ffa3e7e574264b3295cb /tests/units/test_0001_probe.py | |
parent | 926a73cf33896ae62f8255a8f2aca2e0d9a54038 (diff) |
ogclient: add support for X-Sequence headerv1.3.0
Enable parsing of "X-Sequence" HTTP headers from incoming requests.
Add "seq" field in restRequest class.
Enable adding "X-Sequence" to outgoing responses.
Add "seq" field inside restResponse class.
Store current client sequence number inside ogClient class.
Ideally, the restRequest object should be used to retrieve the
sequence number but not all processing functions inside ogRest.py
receive the request as parameter (eg: process_refresh).
In the other hand, all processing functions receive the ogClient object.
Diffstat (limited to 'tests/units/test_0001_probe.py')
0 files changed, 0 insertions, 0 deletions