[SR-Users] Multi-dimensional data in htable

2023-09-17 Thread Ben Kaufman
What's the best way to store multi-dimensional data within an htable? For example, storing an avp stack: $avp(foo) = "first"; $avp(foo) = "second"; $sht(bar=>foo) = $avp(foo); The result of which is that only $avp(foo[0]) is stored in the htable: kamcmd htable.dump bar { entry: 2

[SR-Users] Re: Multiple headers in http client request

2023-09-17 Thread Matteo Brancaleoni
Hi, yes at the end of the game I've introduced a small kemi script in python which exposes a generic http client for use in the classic config script. Unfortunately if you don't use a full kemi config you just have an _exec method with only one arg, so had to leverage multiple avp to pass more tha