--- mod_fastcgi.c.old	2007-11-22 21:33:56.000000000 +0100
+++ mod_fastcgi.c	2007-11-22 21:34:40.000000000 +0100
@@ -718,9 +718,6 @@
         if (strcasecmp(name, "Status") == 0) {
             int statusValue = strtol(value, NULL, 10);
 
-            if (hasStatus) {
-                goto DuplicateNotAllowed;
-            }
             if (statusValue < 0) {
                 fr->parseHeader = SCAN_CGI_BAD_HEADER;
                 return ap_psprintf(r->pool, "invalid Status '%s'", value);
@@ -733,9 +730,6 @@
 
         if (fr->role == FCGI_RESPONDER) {
             if (strcasecmp(name, "Content-type") == 0) {
-                if (hasContentType) {
-                    goto DuplicateNotAllowed;
-                }
                 hasContentType = TRUE;
 #ifdef APACHE2                
                 ap_set_content_type(r, value);
@@ -746,9 +740,6 @@
             }
 
             if (strcasecmp(name, "Location") == 0) {
-                if (hasLocation) {
-                    goto DuplicateNotAllowed;
-                }
                 hasLocation = TRUE;
                 ap_table_set(r->headers_out, "Location", value);
                 continue;
@@ -841,10 +832,6 @@
         *p = '\0';
     fr->parseHeader = SCAN_CGI_BAD_HEADER;
     return ap_psprintf(r->pool, "malformed header '%s'", name);
-
-DuplicateNotAllowed:
-    fr->parseHeader = SCAN_CGI_BAD_HEADER;
-    return ap_psprintf(r->pool, "duplicate header '%s'", name);
 }
 
 /*

