clean up ecore-con server example: HTTP requires a seperator (\r\n in this case)...
authordiscomfitor <discomfitor@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sat, 16 Jul 2011 08:01:19 +0000 (08:01 +0000)
committerdiscomfitor <discomfitor@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sat, 16 Jul 2011 08:01:19 +0000 (08:01 +0000)
commit6992cfd1de1e5cb4c94833a68f0f51bca90b2035
tree0f7558ce055ceb7b39d210b60236ef2adfc4a2f8
parent186ddb836366e55eb4e70bc72f17b189e9434211
clean up ecore-con server example: HTTP requires a seperator (\r\n in this case) following each header line and a double separator between headers and body. additionally, content-length must be EXACTLY the length of the body, and must not include trailing garbage.
snprintf use here is incorrect due to inconsistent behavior of snprintf, so we can lazily fall back to strlen since this is just a simple example

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@61421 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33
src/examples/ecore_con_server_http_example.c