Travis Mottershead

Results 6 comments of Travis Mottershead

Has this been addressed yet? Very useful feature.

I'll test. Currently the headers can be referenced like this: input.headers['header-name']. Are you saying that under the hood it's actually a list of tuples, and the dictionary reference method is...

Ah - I was misunderstanding the structure. I thought the headers were already a dictionary. Calling mutlidict should work. I'll let you know if I hit any blockers.

Ok. Won't it be dangerous to switch it to a list of tuples at this point? Everyone who has currently implemented Larky scripts using the header dictionary will have their...

Here is the current syntax for `github.com/verygoodsecurity/common/compute/larky/http/Process`. Need to make sure we don't break how it currently works. ``` def process(input, ctx): if 'Authority' in input.headers: input.headers['Authority'] = re.sub('new-test.com', 'test.com',...

Agreed. This will be a very useful features when working with proxy servers in different environments.