Expected behavior
When I send a head request in postman, there is a Parse Error: The server returned a malformed response occurred.
Actual behavior
I expect the response of get which has no entity content.
Steps to reproduce
Define a controller that looks like this:
@Controller
@RequestMapping("/")
public class SimplePlainController {
@RequestMapping("/12345")
@ResponseBody
public String list() {
return "Hello";
}
}
and then send a simple head request as: http://127.0.0.1:9997/12345.
Env
- HttpServer version: V0.1.0
- JVM version: openjdk version "11.0.11"
- OS: Win10
Expected behavior
When I send a
headrequest in postman, there is aParse Error: The server returned a malformed responseoccurred.Actual behavior
I expect the response of
getwhich has no entity content.Steps to reproduce
Define a controller that looks like this:
and then send a simple
headrequest as:http://127.0.0.1:9997/12345.Env