mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexander Rukletsov" <ruklet...@gmail.com>
Subject Re: Review Request 40905: [libprocess]: Made `MethodNotAllowed` response compliant to RFC 2616.
Date Thu, 10 Dec 2015 00:12:57 GMT

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

(Updated Dec. 10, 2015, 12:12 a.m.)


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


Changes
-------

Replaced `vector` with `initializer_list`.


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 is a libprocess change only.


Diffs (updated)
-----

  3rdparty/libprocess/include/process/http.hpp 3f33b46527e07ed73621e07e9c5d40594e32f6a9 

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


Testing
-------

This a libprocess change only. The code does not compile without the follow-up [mesos] patch
https://reviews.apache.org/r/40913/.


Thanks,

Alexander Rukletsov


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