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:32:56 +0000 (13:32 +0100)
commit7e79a30eed7d36da827263de5ab2b33ad25bc054
treee7e4cf47f51fb9270d9fc3759fabfc012fcee690
parent17707ca1164c7dd706d1f960f6e151ed3af35614
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