ontodev/droid

DROID should accept HTTP responses from CGI scripts that do not include a Content-Type, such as 30x redirects

Closed this issue · 0 comments

We are currently requiring a "Content-Type" in the response header. When Nanobot returns a valid 308 response, which does not include a Content-Type, DROID currently logs it to console, but DROID should return the 308 response.

According to the spec https://datatracker.ietf.org/doc/html/rfc3875#section-6 I think we should require any one of the CGI-headers: "Content-Type", "Location", or "Status".