diff options
| author | Shulhan <ms@kilabit.info> | 2024-02-21 01:29:25 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2024-02-21 01:34:56 +0700 |
| commit | 9ca138628023b926ddf07cbd2e93562b8e782cf6 (patch) | |
| tree | b2c4524d4ed5ebd7098ad69c2917ee49159e2d93 /_www/gorankusu.ts | |
| parent | 99999635f67931e1a6deb608f13b2dc2ecd9df73 (diff) | |
| download | gorankusu-9ca138628023b926ddf07cbd2e93562b8e782cf6.tar.xz | |
all: add global HTTP headers for Target
The Headers field on Target define the global headers that will be send
along with all HTTPTarget or WebSocketTarget.
The same header can also be defined on HTTPTarget that override the
value of Target.
Diffstat (limited to '_www/gorankusu.ts')
| -rw-r--r-- | _www/gorankusu.ts | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/_www/gorankusu.ts b/_www/gorankusu.ts index 671e427..bf04d42 100644 --- a/_www/gorankusu.ts +++ b/_www/gorankusu.ts @@ -295,6 +295,7 @@ export class Gorankusu { Target: { ID: target.ID, Opts: target.Opts, + Headers: target.Headers, Vars: target.Vars, Name: target.Name, BaseURL: target.BaseURL, @@ -396,6 +397,7 @@ export class Gorankusu { Target: { ID: target.ID, Opts: target.Opts, + Headers: target.Headers, Vars: target.Vars, Name: "", BaseURL: "", @@ -441,6 +443,7 @@ export class Gorankusu { Target: { ID: target.ID, Opts: target.Opts, + Headers: target.Headers, Vars: target.Vars, Name: "", BaseURL: "", |
