Only write out one blank line before the request data.

This closes SF patch #419459.
This commit is contained in:
Fred Drake 2001-07-04 05:18:29 +00:00
parent d153a980e5
commit ec3dfdee6a
2 changed files with 3 additions and 3 deletions

View file

@ -809,7 +809,7 @@ class AbstractHTTPHandler(BaseHandler):
h.putheader(k, v)
h.endheaders()
if req.has_data():
h.send(data + '\r\n')
h.send(data)
code, msg, hdrs = h.getreply()
fp = h.getfile()