mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexander Rukletsov" <ruklet...@gmail.com>
Subject Review Request 40913: Made `MethodNotAllowed` response compliant to RFC 2616.
Date Thu, 03 Dec 2015 14:34:53 GMT

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/40913/
-----------------------------------------------------------

Review request for mesos, Anand Mazumdar, Isabel Jimenez, and Joris Van Remoortere.


Bugs: MESOS-4056
    https://issues.apache.org/jira/browse/MESOS-4056


Repository: mesos


Description
-------

According to RFC 2616 (http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.7), `MethodNotAllowed`
response must include an 'Allow' header containing a list of valid methods.

This updates `MethodNotAllowed` c-tor invocations in Mesos codebase.


Diffs
-----

  src/master/http.cpp 9097eda47558fb5306af5a61b464937d7ab34e83 
  src/slave/http.cpp eeebc79f59eb4deff12b1b8bdcd48b62d80f37fc 
  src/tests/executor_http_api_tests.cpp fe9df1f4d68babaf0960a3b689ffbe60704b8ad5 
  src/tests/scheduler_http_api_tests.cpp 4f52309ff50a5b56cf20f2c5cfddd9c10b2b75d9 

Diff: https://reviews.apache.org/r/40913/diff/


Testing
-------

make check (Mac OS X 10.10.4)


Thanks,

Alexander Rukletsov


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message