If I return ["foo"] from a RESTful web request, which ones are more correct? Will pedantic REST analysis die on a new line?
["foo"]\n (with newline, Content-Length=8)
["foo"] (no newline, Content-Length=7)
For easy regression testing, I like the form with a new line, but I want to make sure that I will not break any application platforms that may have a more strict form in the REST format.
source
share