Skip to content

Conversation

AlfonsoUceda
Copy link
Contributor

Problem

Both Rack::Lint and Rack SPEC aren't compliant with RFC 2016 (see rack/rack#787) for entity headers.

The RFC allows headers like Content-Type and Content-Length to be sent when the status code is 204, but Rack::Lint don't.

Solution

We make Lotus compliant with Rack::Lint until they don't fix this problem.

@AlfonsoUceda
Copy link
Contributor Author

@weppos is this fix your problem? @jodosha told me about your problem

@jodosha jodosha changed the title Fix Rack Lint problem Rack::Lint compatibility May 14, 2015
@jodosha jodosha self-assigned this May 15, 2015
@jodosha jodosha added this to the v0.4.1 milestone May 15, 2015
@jodosha
Copy link
Member

jodosha commented May 15, 2015

@AlfonsoUceda This fixes the problem, thank you 👍

@jodosha jodosha merged commit 9284170 into hanami:master May 15, 2015
@AlfonsoUceda AlfonsoUceda deleted the problem_rack_lint branch May 15, 2015 09:22
@weppos
Copy link
Contributor

weppos commented May 15, 2015

Thanks for your work! 👏 It is working without issues now.

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

Successfully merging this pull request may close these issues.

3 participants