hurl/integration/tests_ok/redirect.hurl
2022-10-10 15:13:03 +02:00

37 lines
501 B
Plaintext

GET http://localhost:8000/redirected
HTTP/1.0 200
```Redirected```
# Absolute redirects
GET http://localhost:8000/redirect-absolute
HTTP/1.0 302
Location: http://localhost:8000/redirected
GET http://localhost:8000/redirect-absolute
[Options]
location: true
HTTP/1.0 200
```Redirected```
# Relative redirects
GET http://localhost:8000/redirect-relative
HTTP/1.0 302
Location: /redirected
GET http://localhost:8000/redirect-relative
[Options]
location: true
HTTP/1.0 200
```Redirected```