Branch: Tag:

2001-06-24

2001-06-24 02:18:46 by Martin Nilsson <mani@lysator.liu.se>

Added a few more HTTP tests.

Rev: server/etc/test/tests/http/RoxenTest_http.pike:1.4
Rev: server/etc/test/tests/http/http010.pike:1.1
Rev: server/etc/test/tests/http/http10.pike:1.5
Rev: server/etc/test/tests/http/http_common.pike:1.6

60:   }      #define EXIT(X) while(1){write("\n\n\nThe offending response header:\n%O\n\n" \ -  "Protocol: %O\nReturn code: %d (%d)\nResponse mapping: %O\n", \ -  headers,prot,code,expected_code,hd);exit((X));} +  "Protocol: %O (%O)\n" \ +  "Return code: %d (%d)\n" \ +  "Response mapping: %O\n", \ +  headers,prot,expected_prot, \ +  code,expected_code,hd);exit((X));}      void verify_headers( string headers, int content_length,    string expected_prot, int expected_code,