summaryrefslogtreecommitdiffstats
path: root/src/virtual/__init__.py
diff options
context:
space:
mode:
authorJose M. Guisado <jguisado@soleta.eu>2023-06-13 10:51:42 +0200
committerJose M. Guisado <jguisado@soleta.eu>2023-06-14 14:50:55 +0200
commit0c03d82ca8792e5e0c41460f3aa5cdf6990a3412 (patch)
tree10e7e6d2433a46c945b6ffa3e7e574264b3295cb /src/virtual/__init__.py
parent926a73cf33896ae62f8255a8f2aca2e0d9a54038 (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 'src/virtual/__init__.py')
0 files changed, 0 insertions, 0 deletions