You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by peter deutschen <de...@mail.eldeo.de> on 2001/11/30 08:38:04 UTC

mod_cgi/8907: http-header generated for nph-cgi (works fine with any other server and apache 1.3.x)

>Number:         8907
>Category:       mod_cgi
>Synopsis:       http-header generated for nph-cgi (works fine with any other server and apache 1.3.x)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    apache
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Thu Nov 29 23:40:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     deutschen@mail.eldeo.de
>Release:        2.0.28 (win32)
>Organization:
apache
>Environment:
Windows XP / Windows NT 4
>Description:
the following http-header is sent at the beginning of any request to the cgi:

00D3E318  48 54 54 50 2F 31 2E 31 20 32 30 30 20 4F  HTTP/1.1 200 O
00D3E326  4B 0D 0A 44 61 74 65 3A 20 46 72 69 2C 20  K..Date: Fri, 
00D3E334  33 30 20 4E 6F 76 20 32 30 30 31 20 30 37  30 Nov 2001 07
00D3E342  3A 32 32 3A 34 31 20 47 4D 54 0D 0A 53 65  :22:41 GMT..Se
00D3E350  72 76 65 72 3A 20 41 70 61 63 68 65 2F 32  rver: Apache/2
00D3E35E  2E 30 2E 32 38 20 28 57 69 6E 33 32 29 0D  .0.28 (Win32).
00D3E36C  0A 43 6F 6E 6E 65 63 74 69 6F 6E 3A 20 63  .Connection: c
00D3E37A  6C 6F 73 65 0D 0A 43 6F 6E 74 65 6E 74 2D  lose..Content-
00D3E388  54 79 70 65 3A 20 61 70 70 6C 69 63 61 74  Type: applicat
00D3E396  69 6F 6E 2F 6F 63 74 65 74 2D 73 74 72 65  ion/octet-stre
00D3E3A4  61 6D 0D 0A 0D 0A 

this header is generated by the cgi and transmitted as second header...

00D3E318  48 54 54 50 2F 31 2E 30 20 32 30 30 20 4F  HTTP/1.0 200 O
00D3E326  4B 0D 0A 43 6F 6E 74 65 6E 74 2D 74 79 70  K..Content-typ
00D3E334  65 3A 20 74 65 78 74 2F 68 74 6D 6C 0D 0A  e: text/html..
00D3E342  0D 0A 3C 21 64 6F 63 74 79 70 65 20 68 74  ..<!doctype ht
00D3E350  6D 6C 20 70 75 62 6C 69 63 20 22 2D 2F 2F  ml public "-//
00D3E35E  77 33 63 2F 2F 64 74 64 20 68 74 6D 6C 20  w3c//dtd html 
00D3E36C  34 2E 30 20 74 72 61 6E 73 69 74 69 6F 6E  4.0 transition
00D3E37A  61 6C 2F 2F 65 6E 22 3E 0D 0A 3C 68 74 6D  al//en">..<htm
00D3E388  6C 3E 0D 0A 3C 68 65 61 64 3E 0D 0A 20 20  l>..<head>..  
00D3E396  20 3C 6D 65 74 61 20 68 74 74 70 2D 65 71   <meta http-eq
00D3E3A4  75 69 76 3D 22 43 6F 6E 74 65 6E 74 2D 54  uiv="Content-T
00D3E3B2  79 70 65 22 20 63 6F 6E 74 65 6E 74 3D 22  ype" content="
00D3E3C0  74 65 78 74 2F 68 74 6D 6C 3B 20 63 68 61  text/html; cha
00D3E3CE  72 73 65 74 3D 69 73 6F 2D 38 38 35 39 2D  rset=iso-8859-
00D3E3DC  31 22 3E 0D 0A 20 20 20 3C 6D 65 74 61 20  1">..   <meta
>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:
 [In order for any reply to be added to the PR database, you need]
 [to include <ap...@Apache.Org> in the Cc line and make sure the]
 [subject line starts with the report component and number, with ]
 [or without any 'Re:' prefixes (such as "general/1098:" or      ]
 ["Re: general/1098:").  If the subject doesn't match this       ]
 [pattern, your message will be misfiled and ignored.  The       ]
 ["apbugs" address is not added to the Cc line of messages from  ]
 [the database automatically because of the potential for mail   ]
 [loops.  If you do not include this Cc, your reply may be ig-   ]
 [nored unless you are responding to an explicit request from a  ]
 [developer.  Reply only with text; DO NOT SEND ATTACHMENTS!     ]