mirror of
https://github.com/anotherhadi/spilltea.git
synced 2026-05-20 01:32:33 +02:00
Add the config option "keep responses"
Signed-off-by: Hadi <112569860+anotherhadi@users.noreply.github.com>
This commit is contained in:
@@ -45,6 +45,7 @@ type Config struct {
|
||||
|
||||
History struct {
|
||||
SkipDuplicates bool `mapstructure:"skip_duplicates"`
|
||||
KeepResponses bool `mapstructure:"keep_responses"`
|
||||
} `mapstructure:"history"`
|
||||
|
||||
Keybindings Keybindings `mapstructure:"keybindings"`
|
||||
|
||||
@@ -17,6 +17,7 @@ replay:
|
||||
|
||||
history:
|
||||
skip_duplicates: true # if true, skip saving entries with the same method, host, path and body
|
||||
keep_responses: false # if true, response body and headers are stored in history
|
||||
|
||||
tui:
|
||||
use_nerdfont_icons: false
|
||||
|
||||
Reference in New Issue
Block a user