> On July 25, 2016, 3:08 a.m., zhou xing wrote:
> > is that possible to add one more test case to send a request with 
> > "application/json; charset=UTF-8" content-type to our operator API?

Yeah, certainly we can add. I will ask Vinod or Anand if they are okay with 
that.


- Abhishek


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


On July 20, 2016, 6:11 p.m., Abhishek Dasgupta wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/50246/
> -----------------------------------------------------------
> 
> (Updated July 20, 2016, 6:11 p.m.)
> 
> 
> Review request for mesos, Anand Mazumdar, zhou xing, Jay Guo, and Vinod Kone.
> 
> 
> Bugs: MESOS-5858
>     https://issues.apache.org/jira/browse/MESOS-5858
> 
> 
> Repository: mesos
> 
> 
> Description
> -------
> 
> Earlier operator v1 api was not supporting charset utf-8
> specified in 'Content Type'. In this patch, mesos master
> is modified to support contentType with and without
> charset utf-8 specified.
> 
> 
> Diffs
> -----
> 
>   src/master/http.cpp 1cbec976ccedae81def388c62889624aaf9a794e 
>   src/master/master.hpp 6decff6f4b9c3434de030fd5c06df4c683a7abad 
> 
> Diff: https://reviews.apache.org/r/50246/diff/
> 
> 
> Testing
> -------
> 
> On Ubuntu 16.04:
> sudo GTEST_FILTER="*MasterAPITest.*" make -j4 check
> 
> Manual Testing:
> 1. sudo  ./bin/mesos-master.sh --ip=127.0.0.1 --work_dir=/var/lib/mesos
> 2. Ran Poster application in firefox and sent a POST data for GET_VERSION 
> call to http://127.0.0.1:5050/api/v1 with contentType as application/json; 
> charset=utf-8
> 
> 
> Thanks,
> 
> Abhishek Dasgupta
> 
>

Reply via email to