|
85 | 85 | add: { |
86 | 86 | '#withName':: d.fn(help='"Name is the name of the HTTP Header to be matched. Name matching MUST be\\ncase-insensitive. (See https://tools.ietf.org/html/rfc7230#section-3.2).\\n\\nIf multiple entries specify equivalent header names, the first entry with\\nan equivalent name MUST be considered for a match. Subsequent entries\\nwith an equivalent header name MUST be ignored. Due to the\\ncase-insensitivity of header names, \\"foo\\" and \\"Foo\\" are considered\\nequivalent."', args=[d.arg(name='name', type=d.T.string)]), |
87 | 87 | withName(name): { name: name }, |
88 | | - '#withValue':: d.fn(help='"Value is the value of HTTP Header to be matched.\\n\\nMust consist of printable US-ASCII characters, optionally separated\\nby single tabs or spaces. See: https://tools.ietf.org/html/rfc7230#section-3.2"', args=[d.arg(name='value', type=d.T.string)]), |
| 88 | + '#withValue':: d.fn(help='"Value is the value of HTTP Header to be matched."', args=[d.arg(name='value', type=d.T.string)]), |
89 | 89 | withValue(value): { value: value }, |
90 | 90 | }, |
91 | 91 | '#set':: d.obj(help='"Set overwrites the request with the given header (name, value)\\nbefore the action.\\n\\nInput:\\n GET /foo HTTP/1.1\\n my-header: foo\\n\\nConfig:\\n set:\\n - name: \\"my-header\\"\\n value: \\"bar\\"\\n\\nOutput:\\n GET /foo HTTP/1.1\\n my-header: bar"'), |
92 | 92 | set: { |
93 | 93 | '#withName':: d.fn(help='"Name is the name of the HTTP Header to be matched. Name matching MUST be\\ncase-insensitive. (See https://tools.ietf.org/html/rfc7230#section-3.2).\\n\\nIf multiple entries specify equivalent header names, the first entry with\\nan equivalent name MUST be considered for a match. Subsequent entries\\nwith an equivalent header name MUST be ignored. Due to the\\ncase-insensitivity of header names, \\"foo\\" and \\"Foo\\" are considered\\nequivalent."', args=[d.arg(name='name', type=d.T.string)]), |
94 | 94 | withName(name): { name: name }, |
95 | | - '#withValue':: d.fn(help='"Value is the value of HTTP Header to be matched.\\n\\nMust consist of printable US-ASCII characters, optionally separated\\nby single tabs or spaces. See: https://tools.ietf.org/html/rfc7230#section-3.2"', args=[d.arg(name='value', type=d.T.string)]), |
| 95 | + '#withValue':: d.fn(help='"Value is the value of HTTP Header to be matched."', args=[d.arg(name='value', type=d.T.string)]), |
96 | 96 | withValue(value): { value: value }, |
97 | 97 | }, |
98 | 98 | '#withAdd':: d.fn(help='"Add adds the given header(s) (name, value) to the request\\nbefore the action. It appends to any existing values associated\\nwith the header name.\\n\\nInput:\\n GET /foo HTTP/1.1\\n my-header: foo\\n\\nConfig:\\n add:\\n - name: \\"my-header\\"\\n value: \\"bar,baz\\"\\n\\nOutput:\\n GET /foo HTTP/1.1\\n my-header: foo,bar,baz"', args=[d.arg(name='add', type=d.T.array)]), |
|
139 | 139 | add: { |
140 | 140 | '#withName':: d.fn(help='"Name is the name of the HTTP Header to be matched. Name matching MUST be\\ncase-insensitive. (See https://tools.ietf.org/html/rfc7230#section-3.2).\\n\\nIf multiple entries specify equivalent header names, the first entry with\\nan equivalent name MUST be considered for a match. Subsequent entries\\nwith an equivalent header name MUST be ignored. Due to the\\ncase-insensitivity of header names, \\"foo\\" and \\"Foo\\" are considered\\nequivalent."', args=[d.arg(name='name', type=d.T.string)]), |
141 | 141 | withName(name): { name: name }, |
142 | | - '#withValue':: d.fn(help='"Value is the value of HTTP Header to be matched.\\n\\nMust consist of printable US-ASCII characters, optionally separated\\nby single tabs or spaces. See: https://tools.ietf.org/html/rfc7230#section-3.2"', args=[d.arg(name='value', type=d.T.string)]), |
| 142 | + '#withValue':: d.fn(help='"Value is the value of HTTP Header to be matched."', args=[d.arg(name='value', type=d.T.string)]), |
143 | 143 | withValue(value): { value: value }, |
144 | 144 | }, |
145 | 145 | '#set':: d.obj(help='"Set overwrites the request with the given header (name, value)\\nbefore the action.\\n\\nInput:\\n GET /foo HTTP/1.1\\n my-header: foo\\n\\nConfig:\\n set:\\n - name: \\"my-header\\"\\n value: \\"bar\\"\\n\\nOutput:\\n GET /foo HTTP/1.1\\n my-header: bar"'), |
146 | 146 | set: { |
147 | 147 | '#withName':: d.fn(help='"Name is the name of the HTTP Header to be matched. Name matching MUST be\\ncase-insensitive. (See https://tools.ietf.org/html/rfc7230#section-3.2).\\n\\nIf multiple entries specify equivalent header names, the first entry with\\nan equivalent name MUST be considered for a match. Subsequent entries\\nwith an equivalent header name MUST be ignored. Due to the\\ncase-insensitivity of header names, \\"foo\\" and \\"Foo\\" are considered\\nequivalent."', args=[d.arg(name='name', type=d.T.string)]), |
148 | 148 | withName(name): { name: name }, |
149 | | - '#withValue':: d.fn(help='"Value is the value of HTTP Header to be matched.\\n\\nMust consist of printable US-ASCII characters, optionally separated\\nby single tabs or spaces. See: https://tools.ietf.org/html/rfc7230#section-3.2"', args=[d.arg(name='value', type=d.T.string)]), |
| 149 | + '#withValue':: d.fn(help='"Value is the value of HTTP Header to be matched."', args=[d.arg(name='value', type=d.T.string)]), |
150 | 150 | withValue(value): { value: value }, |
151 | 151 | }, |
152 | 152 | '#withAdd':: d.fn(help='"Add adds the given header(s) (name, value) to the request\\nbefore the action. It appends to any existing values associated\\nwith the header name.\\n\\nInput:\\n GET /foo HTTP/1.1\\n my-header: foo\\n\\nConfig:\\n add:\\n - name: \\"my-header\\"\\n value: \\"bar,baz\\"\\n\\nOutput:\\n GET /foo HTTP/1.1\\n my-header: foo,bar,baz"', args=[d.arg(name='add', type=d.T.array)]), |
|
199 | 199 | add: { |
200 | 200 | '#withName':: d.fn(help='"Name is the name of the HTTP Header to be matched. Name matching MUST be\\ncase-insensitive. (See https://tools.ietf.org/html/rfc7230#section-3.2).\\n\\nIf multiple entries specify equivalent header names, the first entry with\\nan equivalent name MUST be considered for a match. Subsequent entries\\nwith an equivalent header name MUST be ignored. Due to the\\ncase-insensitivity of header names, \\"foo\\" and \\"Foo\\" are considered\\nequivalent."', args=[d.arg(name='name', type=d.T.string)]), |
201 | 201 | withName(name): { name: name }, |
202 | | - '#withValue':: d.fn(help='"Value is the value of HTTP Header to be matched.\\n\\nMust consist of printable US-ASCII characters, optionally separated\\nby single tabs or spaces. See: https://tools.ietf.org/html/rfc7230#section-3.2"', args=[d.arg(name='value', type=d.T.string)]), |
| 202 | + '#withValue':: d.fn(help='"Value is the value of HTTP Header to be matched."', args=[d.arg(name='value', type=d.T.string)]), |
203 | 203 | withValue(value): { value: value }, |
204 | 204 | }, |
205 | 205 | '#set':: d.obj(help='"Set overwrites the request with the given header (name, value)\\nbefore the action.\\n\\nInput:\\n GET /foo HTTP/1.1\\n my-header: foo\\n\\nConfig:\\n set:\\n - name: \\"my-header\\"\\n value: \\"bar\\"\\n\\nOutput:\\n GET /foo HTTP/1.1\\n my-header: bar"'), |
206 | 206 | set: { |
207 | 207 | '#withName':: d.fn(help='"Name is the name of the HTTP Header to be matched. Name matching MUST be\\ncase-insensitive. (See https://tools.ietf.org/html/rfc7230#section-3.2).\\n\\nIf multiple entries specify equivalent header names, the first entry with\\nan equivalent name MUST be considered for a match. Subsequent entries\\nwith an equivalent header name MUST be ignored. Due to the\\ncase-insensitivity of header names, \\"foo\\" and \\"Foo\\" are considered\\nequivalent."', args=[d.arg(name='name', type=d.T.string)]), |
208 | 208 | withName(name): { name: name }, |
209 | | - '#withValue':: d.fn(help='"Value is the value of HTTP Header to be matched.\\n\\nMust consist of printable US-ASCII characters, optionally separated\\nby single tabs or spaces. See: https://tools.ietf.org/html/rfc7230#section-3.2"', args=[d.arg(name='value', type=d.T.string)]), |
| 209 | + '#withValue':: d.fn(help='"Value is the value of HTTP Header to be matched."', args=[d.arg(name='value', type=d.T.string)]), |
210 | 210 | withValue(value): { value: value }, |
211 | 211 | }, |
212 | 212 | '#withAdd':: d.fn(help='"Add adds the given header(s) (name, value) to the request\\nbefore the action. It appends to any existing values associated\\nwith the header name.\\n\\nInput:\\n GET /foo HTTP/1.1\\n my-header: foo\\n\\nConfig:\\n add:\\n - name: \\"my-header\\"\\n value: \\"bar,baz\\"\\n\\nOutput:\\n GET /foo HTTP/1.1\\n my-header: foo,bar,baz"', args=[d.arg(name='add', type=d.T.array)]), |
|
253 | 253 | add: { |
254 | 254 | '#withName':: d.fn(help='"Name is the name of the HTTP Header to be matched. Name matching MUST be\\ncase-insensitive. (See https://tools.ietf.org/html/rfc7230#section-3.2).\\n\\nIf multiple entries specify equivalent header names, the first entry with\\nan equivalent name MUST be considered for a match. Subsequent entries\\nwith an equivalent header name MUST be ignored. Due to the\\ncase-insensitivity of header names, \\"foo\\" and \\"Foo\\" are considered\\nequivalent."', args=[d.arg(name='name', type=d.T.string)]), |
255 | 255 | withName(name): { name: name }, |
256 | | - '#withValue':: d.fn(help='"Value is the value of HTTP Header to be matched.\\n\\nMust consist of printable US-ASCII characters, optionally separated\\nby single tabs or spaces. See: https://tools.ietf.org/html/rfc7230#section-3.2"', args=[d.arg(name='value', type=d.T.string)]), |
| 256 | + '#withValue':: d.fn(help='"Value is the value of HTTP Header to be matched."', args=[d.arg(name='value', type=d.T.string)]), |
257 | 257 | withValue(value): { value: value }, |
258 | 258 | }, |
259 | 259 | '#set':: d.obj(help='"Set overwrites the request with the given header (name, value)\\nbefore the action.\\n\\nInput:\\n GET /foo HTTP/1.1\\n my-header: foo\\n\\nConfig:\\n set:\\n - name: \\"my-header\\"\\n value: \\"bar\\"\\n\\nOutput:\\n GET /foo HTTP/1.1\\n my-header: bar"'), |
260 | 260 | set: { |
261 | 261 | '#withName':: d.fn(help='"Name is the name of the HTTP Header to be matched. Name matching MUST be\\ncase-insensitive. (See https://tools.ietf.org/html/rfc7230#section-3.2).\\n\\nIf multiple entries specify equivalent header names, the first entry with\\nan equivalent name MUST be considered for a match. Subsequent entries\\nwith an equivalent header name MUST be ignored. Due to the\\ncase-insensitivity of header names, \\"foo\\" and \\"Foo\\" are considered\\nequivalent."', args=[d.arg(name='name', type=d.T.string)]), |
262 | 262 | withName(name): { name: name }, |
263 | | - '#withValue':: d.fn(help='"Value is the value of HTTP Header to be matched.\\n\\nMust consist of printable US-ASCII characters, optionally separated\\nby single tabs or spaces. See: https://tools.ietf.org/html/rfc7230#section-3.2"', args=[d.arg(name='value', type=d.T.string)]), |
| 263 | + '#withValue':: d.fn(help='"Value is the value of HTTP Header to be matched."', args=[d.arg(name='value', type=d.T.string)]), |
264 | 264 | withValue(value): { value: value }, |
265 | 265 | }, |
266 | 266 | '#withAdd':: d.fn(help='"Add adds the given header(s) (name, value) to the request\\nbefore the action. It appends to any existing values associated\\nwith the header name.\\n\\nInput:\\n GET /foo HTTP/1.1\\n my-header: foo\\n\\nConfig:\\n add:\\n - name: \\"my-header\\"\\n value: \\"bar,baz\\"\\n\\nOutput:\\n GET /foo HTTP/1.1\\n my-header: foo,bar,baz"', args=[d.arg(name='add', type=d.T.array)]), |
|
0 commit comments