info: automatically detect whether the reply should have HTTP headers
authorFerry Huberts <ferry.huberts@pelagic.nl>
Tue, 7 Feb 2017 12:28:06 +0000 (13:28 +0100)
committerFerry Huberts <ferry.huberts@pelagic.nl>
Tue, 7 Feb 2017 12:33:03 +0000 (13:33 +0100)
commit1a3a48ab4e3df1307e190ede80bbf8ef539aecf7
treeb6b076c3f389209f11832ddc695c4976b8f2e20d
parent390ef780cfccddd60c4af50f8de1d1afc1bd5cb0
info: automatically detect whether the reply should have HTTP headers

This is the case when a HTTP request is done.
The request can still override whether or not HTTP headers are sent
by employing the 'http' and 'plain' request prefixes.

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
lib/info/olsrd_info.c