Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Headers map is not ring compliant - may contains Integers #47

Open
ekimber opened this issue Dec 18, 2015 · 0 comments
Open

Headers map is not ring compliant - may contains Integers #47

ekimber opened this issue Dec 18, 2015 · 0 comments

Comments

@ekimber
Copy link

ekimber commented Dec 18, 2015

The "content-length" element is an Integer. But it would be nice if the :headers element was compatible with the ring schema because other libraries depend on this. Quote from the ring wiki:

:headers A Clojure map of HTTP header names to header values. These values may either be strings, in which case one name/value header will be sent in the HTTP response, or a collection of strings, in which case a name/value header will be sent for each value.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant