8thlight / cob_spec

A fitnesse suite for a web server
24 stars 33 forks source link

Relax location criteria #56

Closed esmevane closed 7 years ago

esmevane commented 7 years ago

There is a more recent version of the HTTP/1.1 spec which says both absolute URIs (http://domain.name.etc/new_route) and absolute paths (/new_route) are acceptable in the Location header for any 3xx responses. This commit updates the cob spec to accept absolute paths instead of requiring a fully qualified absolute uri.

trptcolin commented 7 years ago

👍 Makes sense; this means you could run it on any domain.