tabled: add new HTTP header test
PATCH 1/1 tabled: add new HTTP header test
commit f98a7bfd3952944b56fbfb0aef1531472d4c2354
Author: Jeff Garzik <[email protected]> Date: Sun Mar 7 07:58:25 2010 -0500
[test] add new hdr-content-type test
Verifies that user-provided Content-type header is stored and returned on subsequent GET requests.
Signed-off-by Jeff Garzik <[email protected]>
test/.gitignore +1 -0
@@ -5,4 +5,5 @@ basic-object it-works large-object wait-for-listen +hdr-content-type
test/Makefile.am +3 -1
@@ -24,11 +24,12 @@ TESTS = \ basic-bucket \ basic-object \ large-object \ + hdr-content-type \ stop-daemon \ clean-db check_PROGRAMS = basic-bucket basic-object it-works large-object \ - wait-for-listen + hdr-content-type wait-for-listen TESTLDADD = ../lib/libhttpstor.la \ ../lib/libhttputil.a \
@@ -36,6 +37,7 @@ TESTLDADD = ../lib/libhttpstor.la \ basic_bucket_LDADD = $(TESTLDADD) basic_object_LDADD = $(TESTLDADD) large_object_LDADD = $(TESTLDADD) +hdr_content_type_LDADD = $(TESTLDADD) it_works_LDADD = $(TESTLDADD) wait_for_listen_LDADD = ../lib/libhttputil.a
test/hdr-content-type.c new file +130 -0
130 lines not on this page · raw message