spring-projects/spring-framework — pull request #626 by eujungkim (2014-08-18 11:14:50+00:00)
Title: Modify getServerName() and getServerPort() to reference "Host" header.

This commit modifies getServerName() and getServerPort() in MockHttpServletRequest class to reference "Host" header if header is set.

I have signed and agree to the terms of the SpringSource Individual Contributor License Agreement.