Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configurable request failing behavior #8

Open
2 tasks
asg017 opened this issue Oct 20, 2021 · 0 comments
Open
2 tasks

Configurable request failing behavior #8

asg017 opened this issue Oct 20, 2021 · 0 comments

Comments

@asg017
Copy link
Owner

asg017 commented Oct 20, 2021

Should a failed request cause a SQLITE_ERROR, or should a user be able to specify what to do on failure?

Can set all request_* columns to NULL.

  • Maybe a new failed column? or request_failed. How does HAR handle
  • Make timeout configurable as well.
select http_timeout_set(5000);
select http_request_fail_set(1); -- ??? maybe bit flag??

-- maybe nicer
select http_settings_set('timeout', 1000);
select http_settings_get('timeout'); -- 1000

select http_settings_set('request_fail', 'fail'); 
select http_settings_set('request_fail', 'silent');
@asg017 asg017 added this to the v0 milestone Oct 20, 2021
@asg017 asg017 removed this from the v0 milestone Aug 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant