Skip to content

Accept options variables like 111xxx or truexxx #5028

@jcamiel

Description

@jcamiel

Some Options variables are rejected while being "usual":

GET http://localhost:8000
[Options]
variable: foo=aa11
variable: bar=11aa
$ hurl /tmp/test.hurl
error: Parsing literal
  --> /tmp/test.hurl:4:17
   |
 4 | variable: bar=11aa
   |                 ^ expecting 'line_terminator'
   |

And

GET http://localhost:8000
[Options]
variable: foo=true_is_true
$ hurl /tmp/test.hurl
error: Parsing literal
  --> /tmp/test.hurl:3:19
   |
 3 | variable: foo=true_is_true
   |                   ^ expecting 'line_terminator'
   |

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions