<url type="website">http://www.ros.org/wiki/turtlesim</url> <url type="bugtracker">https:///ros/ros_tutorials/issues</url> <url type="repository">https:///ros/ros_tutorials</url> <author>Josh Faust</author> <!--编译工具为catkin--> <buildtool_depend>catkin</buildtool_depend> <!
getHeader("Content-Type"); if reqType != "application/json": raise vilo.error("Only JSON requsts are valid."); # otherwise ... return yourLogic_doFoo();Note: Use req.getCookie(.) (documented below) for getting request cookies. No need to deal with the "Cookie" header directly....