rester-sublime-http-client icon indicating copy to clipboard operation
rester-sublime-http-client copied to clipboard

Headers separated by blank line from METHOD and URI are sent in the body

Open lagondo opened this issue 9 years ago • 2 comments

POST http://requestb.in/16gbesa1

Content-Type: text/plain

test string

versus

POST http://requestb.in/16gbesa1 Content-Type: text/plain

test string

produce different results, see http://requestb.in/16gbesa1?inspect

The documentation in README.md suggests that headers should be separated by a blank line from METHOD and URI.

lagondo avatar Jan 14 '16 08:01 lagondo

I'll revise the README to fix error and add clarity. The expected behavior is that anything up to the first empty line is the the request line and headers; everything after is the request body.

pjdietz avatar Jan 21 '16 12:01 pjdietz

Cool, thx!

lagondo avatar Jan 21 '16 19:01 lagondo