ontodev / droid

DROID Reminds us that Ordinary Individuals can be Developers
BSD 3-Clause "New" or "Revised" License
4 stars 1 forks source link

DROID should use case-insensitive match for HTTP headers returning from CGI scripts #135

Closed jamesaoverton closed 1 year ago

jamesaoverton commented 1 year ago

The HTTP spec https://www.ietf.org/rfc/rfc2616.txt section 4.2 Message Headers says that headers are case-insensitive.

We are currently using case-sensitive matching: https://github.com/ontodev/droid/blob/master/src/droid/html.clj#L597