client: store http code of last emitted response
authorJo-Philipp Wich <jow@openwrt.org>
Mon, 27 Oct 2014 10:15:35 +0000 (11:15 +0100)
committerJo-Philipp Wich <jow@openwrt.org>
Mon, 27 Oct 2014 10:16:44 +0000 (11:16 +0100)
commit248d682e3b3887a535d4ba81fab65f3463373ac8
tree3821776be3d9f87eb0ace8749041c36aff437d41
parent98839fdd7467f34011ef4b967b285fee3b0d8597
client: store http code of last emitted response

Certain response types (notably 204 and 304) require a slightly different
handling like emitting the response body entirely, therfore record the last
code to act on it in the appropriate places.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
client.c
uhttpd.h