-
Notifications
You must be signed in to change notification settings - Fork 490
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
Configure --max-time per request #3162
Comments
This would be nice to have, but can we make the CLI option to be the "max" time that any inline option might specify? I am parsing the Hurl file with |
Ha, didn't see that this can be problematic with https://skybear.net! Honestly, when reviewing the change log for 5.0.0, I was surprised that we haven't implemented it yet and hesitated to label it as a bug. Currently, option in Either we change the priority order of CLI option vs Could you analyse the Hurl file and whitelist only certain option in |
Yes, I do this right now, by rejecting specific options and values. OK, if the precedence priority is for the inline options to override the CLI then I will keep expanding that rejection list on my side. (I remember the priority discussion in the issue about variables as well and that would be a bit different order, but maybe I remember wrong)
Hmm, I don't see this option in https://hurl.dev/docs/request.html#options What's the best authoritative source I can always keep an eye on for inline options allowed in case I need to reject when upgrading Hurl versions? edit: Is this the best list? https://github.com/Orange-OpenSource/hurl/blob/master/packages/hurl_core/src/parser/option.rs#L42 |
Yes, you can find it also in the grammar but we've hand coded the parser from the grammar so the grammar may not be "complete" (see https://github.com/Orange-OpenSource/hurl/blob/master/docs/spec/grammar/hurl.grammar). The parser code is the best place. |
Make
--max-time
configurable per request:The text was updated successfully, but these errors were encountered: