mirror of https://github.com/tidwall/tile38.git
extra newline on http POST command fixed #12
This commit is contained in:
parent
2449fd495d
commit
37d73caf11
|
@ -310,10 +310,6 @@ func (ar *AnyReaderWriter) readHTTPMessage() (*Message, error) {
|
|||
if path == "" {
|
||||
return msg, nil
|
||||
}
|
||||
if !strings.HasSuffix(path, "\r\n") {
|
||||
path += "\r\n"
|
||||
}
|
||||
|
||||
nmsg, err := readNativeMessageLine([]byte(path))
|
||||
if err != nil {
|
||||
return nil, err
|
||||
|
|
Loading…
Reference in New Issue