mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guangya Liu" <gyliu...@gmail.com>
Subject Re: Review Request 40905: Made `MethodNotAllowed` response compliant to RFC 2616.
Date Thu, 03 Dec 2015 12:24:58 GMT

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



src/master/http.cpp (line 385)
<https://reviews.apache.org/r/40905/#comment168287>

    What about update to 
    
    Expecting a 'POST' request, received a '" + request.method + "' request"


- Guangya Liu


On 十二月 3, 2015, 11:23 a.m., Alexander Rukletsov wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/40905/
> -----------------------------------------------------------
> 
> (Updated 十二月 3, 2015, 11:23 a.m.)
> 
> 
> 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.
> 
> 
> Diffs
> -----
> 
>   3rdparty/libprocess/include/process/http.hpp c7d19a2086a8891d0198dce1c4d1c92bd99ac6e3

>   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/40905/diff/
> 
> 
> Testing
> -------
> 
> make check (Mac OS X 10.10.4)
> 
> 
> Thanks,
> 
> Alexander Rukletsov
> 
>


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