hurl/integration/tests_ok/path_as_is_option.hurl
2023-09-20 14:43:44 +02:00

16 lines
372 B
Plaintext

# Dot segments are removed by default
# the sequence "any/../" evaluate to nothing
# therefore the url sent is http://localhost:8000/hello
GET http://localhost:8000/any/../hello
HTTP 200
`Hello World!`
# Setting the option path-as-is
# the path is sent as it is (provided in the url)
GET http://localhost:8000/path-as-is/../resource
[Options]
path-as-is: true
HTTP 200