Ensure HTTP method handling is correct #29

Merged
merged 5 commits into from Aug 30, 2012

Projects

None yet

2 participants

@davidjb
Contributor
davidjb commented Aug 30, 2012

Several issues fixed:

  1. VERSION-CONTROL and BASELINE-CONTROL are recognised (hyphen, not underscore)
  2. PATCH requests are now recognised (weren't before)
  3. Various RFCs are now followed for accepting request bodies (input) -- in particular, various WebDAV methods saw their request bodies ignored before. (See RFC list below)
  4. Includes a QA test that covers all the above -- ensures that all methods can be submitted with or without input and the correct status code is returned.

See
http://www.webdav.org/specs/rfc2518.html
http://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html
http://tools.ietf.org/html/rfc5789#section-2.1
http://www.webdav.org/specs/rfc3253.html
for RFC details.

@skinkie
Member
skinkie commented Aug 30, 2012

Thanks for this great effort David!

@skinkie skinkie merged commit 435910e into cherokee:master Aug 30, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment