hurl/integration/tests_ok/redirect.hurl

37 lines
501 B
Plaintext
Raw Normal View History

2022-10-09 17:30:07 +03:00
GET http://localhost:8000/redirected
HTTP/1.0 200
```Redirected```
# Absolute redirects
GET http://localhost:8000/redirect-absolute
2020-08-27 10:07:46 +03:00
HTTP/1.0 302
Location: http://localhost:8000/redirected
2022-10-09 17:30:07 +03:00
GET http://localhost:8000/redirect-absolute
[Options]
location: true
2020-08-27 10:07:46 +03:00
HTTP/1.0 200
2022-10-09 17:30:07 +03:00
```Redirected```
2020-08-27 10:07:46 +03:00
2022-10-09 17:30:07 +03:00
# 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```
2020-08-27 10:07:46 +03:00