extra newline on http POST command fixed #12

This commit is contained in:
Josh Baker 2016-04-18 13:26:08 -07:00
parent 2449fd495d
commit 37d73caf11
1 changed files with 0 additions and 4 deletions

View File

@ -310,10 +310,6 @@ func (ar *AnyReaderWriter) readHTTPMessage() (*Message, error) {
if path == "" { if path == "" {
return msg, nil return msg, nil
} }
if !strings.HasSuffix(path, "\r\n") {
path += "\r\n"
}
nmsg, err := readNativeMessageLine([]byte(path)) nmsg, err := readNativeMessageLine([]byte(path))
if err != nil { if err != nil {
return nil, err return nil, err