HTTP Host: header never includes port
Brought to you by:
skonno
When sending a POST request, the HTTPRequest object never includes the port number on the Host: header as required by the HTTP spec. This can break self-referencing URLs being sent back by the server in response to the action.
Quick patch (attached) fixes the problem, tested with the latest svn HEAD.
Add port to Host: header on POST