Closed Bug 229333 Opened 22 years ago Closed 21 years ago

Browser doesn't know what to do with CGI scripts

Categories

(SeaMonkey :: General, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: sthoward, Unassigned)

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20031007 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20031007 I have several CGI scripts that query tables of summarized data from the previous nights' jobs. These all work without any problem using IE, but when I try to access them using Mozilla, it gives me a dialog box stating the file is of type application/octet-stream and Mozilla doesn't know how to handle it. No mime type is set in these scripts. It is simply an HTML output stream from the script. Reproducible: Always Steps to Reproduce: 1. 2. 3. Expected Results: Should have displayed the interpreted HTML in the stream from the server.
> No mime type is set in these scripts. Please attach an HTTP log using the directions at http://www.mozilla.org/projects/netlib/http/http-debugging.html It sounds like you're violating the HTTP spec by sending no type at all, and Mozilla and IE end up detecting different MIME types from your data.... Does your data contain embedded nulls or non-ascii characters?
extension is irrelevant, hence removing from summary
Summary: Browser doesn't know what to do with CGI scripts that end in .pl → Browser doesn't know what to do with CGI scripts
the browser cannot distinguish between normal files and CGI scripts. the 'Content-Type' parameter has to be set properly by the CGI script. set the mime type correctly and it will definitely work. for normal files, the web server will automatically set the content type.
Here is a link that fails on a cgi: http://www.geappliances.com/geac/own_instl/ type in JGB900 hit Search. The browser tries to download the .cgi file. I found it yesterday with ver 1.6b, and confirmed it today after installing 1.7b. Hope this helps...
Johnny Miller, that site has nothing to do with this bug (feel free to file an evangelism bug on it, since it sends data as "html/text" instead of "text/html"). Steve, any chance of a response to comment 1?
(In reply to comment #5) > Johnny Miller, that site has nothing to do with this bug (feel free to file an > evangelism bug on it, since it sends data as "html/text" instead of "text/html"). > Steve, any chance of a response to comment 1? Sure. The first inside the head tag is: <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> This seems to work fine with IE for it to recognize what is being returned. The output from the log (Default page is google, so it loaded google first, then I input the URL to this internal site, got the error, told it to open using the default program (perl) and closed the browser so I could get this from the log): 3524[1252218]: nsSocketTransportService::Run 3524[1252218]: calling PR_Poll [active=0 idle=0] 0[3b4330]: Creating nsHttpHandler [this=122b860]. 0[3b4330]: nsHttpHandler::Init 0[3b4330]: nsHttpHandler::PrefsChanged [pref=(null)] 0[3b4330]: nsHttpAuthCache::Init 0[3b4330]: Creating nsHttpConnectionMgr @1320570 0[3b4330]: nsHttpConnectionMgr::Init 0[3b4330]: nsHttpHandler::StartPruneDeadConnectionsTimer 0[3b4330]: nsHttpHandler::NewURI 0[3b4330]: nsHttpHandler::NewProxiedChannel [proxyInfo=0] 0[3b4330]: Creating nsHttpChannel @1c1e008 0[3b4330]: nsHttpChannel::Init [this=1c1e008] 0[3b4330]: host=www.google.com port=-1 0[3b4330]: uri=http://www.google.com/ 0[3b4330]: Creating nsHttpConnectionInfo @13cce20 0[3b4330]: nsHttpHandler::AddStandardRequestHeaders 0[3b4330]: nsHttpHandler::BuildUserAgent 0[3b4330]: nsHttpChannel::AsyncOpen [this=1c1e008] 0[3b4330]: nsHttpHandler::NotifyObservers [chan=1c1e008 event="http-on-modify- request"] 0[3b4330]: nsHttpChannel::Connect [this=1c1e008] 0[3b4330]: nsHttpChannel::OpenCacheEntry [this=1c1e008] 0[3b4330]: got cache entry [access=3] 0[3b4330]: nsHTTPChannel::CheckCache [this=1c1e008 entry=1ba49d0] 0[3b4330]: CreateAtomTable 0[3b4330]: nsHttpResponseHead::Parse [this=13c1de0] 0[3b4330]: nsHttpResponseHead::ParseVersion [version=HTTP/1.1 200 OK] 0[3b4330]: Have status line [version=11 status=200 statusText=OK] 0[3b4330]: nsHttpResponseHead::ParseContentType [type=text/html] 0[3b4330]: nsHttpResponseHead::MustValidate ?? 0[3b4330]: no mandatory validation requirement 0[3b4330]: Validating based on expiration time 0[3b4330]: CheckCache [this=1c1e008 doValidation=1] 0[3b4330]: nsHttpChannel::AddAuthorizationHeaders? [this=1c1e008] 0[3b4330]: nsHttpAuthCache::GetAuthEntryForPath [host=www.google.com:80 path=/] 0[3b4330]: nsHttpChannel::SetupTransaction [this=1c1e008] 0[3b4330]: Creating nsHttpTransaction @13d97f8 0[3b4330]: nsHttpTransaction::Init [this=13d97f8 caps=1] 0[3b4330]: http request [ 0[3b4330]: GET / HTTP/1.1 0[3b4330]: Host: www.google.com 0[3b4330]: User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040206 Firefox/0.8 0[3b4330]: Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8, video/x-mng,image/png,image/jpeg,image/gif;q=0.2,*/*;q=0.1 0[3b4330]: Accept-Language: en-us,en;q=0.5 0[3b4330]: Accept-Encoding: gzip,deflate 0[3b4330]: Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7 0[3b4330]: Keep-Alive: 300 0[3b4330]: Connection: keep-alive 0[3b4330]: Cookie: PREF=ID=36007acddafba43d:TM=1077897125:LM=1077897125:S=HsuFJTxLF8psVSKS 0[3b4330]: ] 0[3b4330]: nsHttpConnectionMgr::AddTransaction [trans=13d97f8] 0[3b4330]: nsSocketTransportService::PostEvent [event=1375360] 3524[1252218]: nsHttpConnectionMgr::OnMsgNewTransaction [trans=13d97f8] 3524[1252218]: nsHttpConnectionMgr::GetConnection [ci=..www.google.com:80 caps=1] 3524[1252218]: nsHttpConnectionMgr::AtActiveConnectionLimit [ci=..www.google.com:80 caps=1] 3524[1252218]: total=0, persist=0 3524[1252218]: Creating nsHttpConnection @1b690e0 3524[1252218]: nsHttpConnection::Init [this=1b690e0] 3524[1252218]: nsHttpConnectionMgr::DispatchTransaction [ci=..www.google.com:80 trans=13d97f8 caps=1 conn=1b690e0] 3524[1252218]: nsHttpConnection::Activate [this=1b690e0 trans=13d97f8 caps=1] 3524[1252218]: creating nsSocketTransport @1379210 3524[1252218]: nsSocketTransport::Init [this=1379210 host=www.google.com:80 proxy=:0] 3524[1252218]: nsSocketTransport::OpenOutputStream [this=1379210 flags=2] 3524[1252218]: nsSocketTransport::PostEvent [this=1379210 type=0 status=0 param=0] 3524[1252218]: nsSocketTransportService::PostEvent [event=13c8168] 3524[1252218]: nsSocketTransport::OpenInputStream [this=1379210 flags=2] 3524[1252218]: nsSocketTransport::PostEvent [this=1379210 type=0 status=0 param=0] 3524[1252218]: nsSocketTransportService::PostEvent [event=13c81a0] 3524[1252218]: nsSocketOutputStream::AsyncWait [this=13792c0] 3524[1252218]: calling PR_Poll [active=0 idle=0] 3524[1252218]: nsSocketTransport::OnSocketEvent [this=1379210 type=0 status=0 param=0] 3524[1252218]: MSG_ENSURE_CONNECT 3524[1252218]: nsSocketTransport::ResolveHost [this=1379210] 3524[1252218]: advancing to STATE_RESOLVING 3524[1252218]: nsSocketTransport::SendStatus [this=1379210 status=804b0003] 3524[1252218]: nsHttpTransaction::OnSocketStatus [this=13d97f8 status=804b0003 progress=0] 3524[1252218]: nsSocketTransport::OnSocketEvent [this=1379210 type=0 status=0 param=0] 3524[1252218]: MSG_ENSURE_CONNECT 3524[1252218]: ignoring redundant event 3524[1252218]: calling PR_Poll [active=0 idle=0] 0[3b4330]: sending status notification [this=1c1e008 status=804b0003 progress=0/0] 3508[1c1cc20]: nsSocketTransport::PostEvent [this=1379210 type=1 status=0 param=1c74f00] 3508[1c1cc20]: nsSocketTransportService::PostEvent [event=1c768d0] 3524[1252218]: nsSocketTransport::OnSocketEvent [this=1379210 type=1 status=0 param=1c74f00] 3524[1252218]: MSG_DNS_LOOKUP_COMPLETE 3524[1252218]: nsSocketTransport::InitiateSocket [this=1379210] 3524[1252218]: nsSocketTransport::BuildSocket [this=1379210] 3524[1252218]: nsSocketTransportService::AttachSocket [handler=1379210] 3524[1252218]: nsSocketTransportService::AddToIdleList [handler=1379210] 3524[1252218]: active=0 idle=1 3524[1252218]: advancing to STATE_CONNECTING 3524[1252218]: nsSocketTransport::SendStatus [this=1379210 status=804b0007] 3524[1252218]: nsHttpTransaction::OnSocketStatus [this=13d97f8 status=804b0007 progress=0] 0[3b4330]: sending status notification [this=1c1e008 status=804b0007 progress=0/0] 3524[1252218]: trying address: 216.239.39.99 3524[1252218]: idle [0] { handler=1379210 condition=0 pollflags=6 } 3524[1252218]: nsSocketTransportService::AddToPollList [handler=1379210] 3524[1252218]: active=1 idle=1 3524[1252218]: nsSocketTransportService::RemoveFromIdleList [handler=1379210] 3524[1252218]: active=1 idle=0 3524[1252218]: calling PR_Poll [active=1 idle=0] 3524[1252218]: nsSocketTransport::OnSocketReady [this=1379210 outFlags=2] 3524[1252218]: advancing to STATE_TRANSFERRING 3524[1252218]: nsSocketTransport::SendStatus [this=1379210 status=804b0004] 3524[1252218]: nsHttpTransaction::OnSocketStatus [this=13d97f8 status=804b0004 progress=0] 0[3b4330]: sending status notification [this=1c1e008 status=804b0004 progress=0/0] 3524[1252218]: active [0] { handler=1379210 condition=0 pollflags=7 } 3524[1252218]: calling PR_Poll [active=1 idle=0] 3524[1252218]: nsSocketTransport::OnSocketReady [this=1379210 outFlags=2] 3524[1252218]: nsSocketOutputStream::OnSocketReady [this=13792c0 cond=0] 3524[1252218]: nsHttpConnection::OnSocketWritable [this=1b690e0] 3524[1252218]: writing transaction request stream 3524[1252218]: nsSocketOutputStream::Write [this=13792c0 count=518] 3524[1252218]: calling PR_Write [count=518] 3524[1252218]: PR_Write returned [n=518] 3524[1252218]: nsSocketTransport::SendStatus [this=1379210 status=804b0005] 3524[1252218]: nsHttpTransaction::OnSocketStatus [this=13d97f8 status=804b0005 progress=518] 0[3b4330]: sending status notification [this=1c1e008 status=804b0005 progress=518/518] 3524[1252218]: ReadSegments returned [rv=0 read=518 sock-cond=0] 3524[1252218]: writing transaction request stream 3524[1252218]: ReadSegments returned [rv=0 read=0 sock-cond=0] 3524[1252218]: nsHttpTransaction::OnSocketStatus [this=13d97f8 status=804b000a progress=0] 0[3b4330]: sending status notification [this=1c1e008 status=804b000a progress=0/0] 3524[1252218]: nsSocketInputStream::AsyncWait [this=13792a4] 3524[1252218]: active [0] { handler=1379210 condition=0 pollflags=5 } 3524[1252218]: calling PR_Poll [active=1 idle=0] 3524[1252218]: nsSocketTransport::OnSocketReady [this=1379210 outFlags=1] 3524[1252218]: nsSocketInputStream::OnSocketReady [this=13792a4 cond=0] 3524[1252218]: nsHttpConnection::OnSocketReadable [this=1b690e0] 3524[1252218]: nsSocketInputStream::Read [this=13792a4 count=4096] 3524[1252218]: calling PR_Read [count=4096] 3524[1252218]: PR_Read returned [n=1381] 3524[1252218]: nsSocketTransport::SendStatus [this=1379210 status=804b0006] 3524[1252218]: nsHttpTransaction::OnSocketStatus [this=13d97f8 status=804b0006 progress=1381] 3524[1252218]: nsHttpTransaction::ProcessData [this=13d97f8 count=1381] 3524[1252218]: nsHttpTransaction::ParseHead [count=1381] 3524[1252218]: nsHttpTransaction::ParseLine [HTTP/1.1 200 OK] 3524[1252218]: nsHttpResponseHead::ParseVersion [version=HTTP/1.1 200 OK] 3524[1252218]: Have status line [version=11 status=200 statusText=OK] 3524[1252218]: nsHttpTransaction::ParseLine [Connection: Keep-Alive] 3524[1252218]: nsHttpTransaction::ParseLine [Cache-control: private] 3524[1252218]: nsHttpTransaction::ParseLine [Content-Type: text/html] 3524[1252218]: nsHttpResponseHead::ParseContentType [type=text/html] 3524[1252218]: nsHttpTransaction::ParseLine [Content-Encoding: gzip] 3524[1252218]: nsHttpTransaction::ParseLine [Server: GWS/2.1] 3524[1252218]: nsHttpTransaction::ParseLine [Content-length: 1189] 3524[1252218]: nsHttpTransaction::ParseLine [Date: Mon, 29 Mar 2004 13:55:48 GMT] 3524[1252218]: nsHttpTransaction::HandleContent [this=13d97f8 count=1189] 3524[1252218]: nsHttpTransaction::HandleContentStart [this=13d97f8] 3524[1252218]: http response [ 3524[1252218]: HTTP/1.1 200 OK 3524[1252218]: Connection: Keep-Alive 3524[1252218]: Cache-Control: private 3524[1252218]: Content-Type: text/html 3524[1252218]: Content-Encoding: gzip 3524[1252218]: Server: GWS/2.1 3524[1252218]: Content-Length: 1189 3524[1252218]: Date: Mon, 29 Mar 2004 13:55:48 GMT 3524[1252218]: ] 3524[1252218]: nsHttpConnection::OnHeadersAvailable [this=1b690e0 trans=13d97f8 response-head=1c75120] 3524[1252218]: Connection can be reused [this=1b690e0 idle-timeout=300 3524[1252218]: nsHttpTransaction [this=13d97f8 count=1189 read=1189 mContentRead=1189 mContentLength=1189] 3524[1252218]: nsHttpConnection::CloseTransaction[this=1b690e0 trans=13d97f8 reason=80470002] 3524[1252218]: nsHttpTransaction::Close [this=13d97f8 reason=0] 3524[1252218]: nsHttpConnectionMgr::ReclaimConnection [conn=1b690e0] 3524[1252218]: nsSocketTransportService::PostEvent [event=1375360] 3524[1252218]: active [0] { handler=1379210 condition=0 pollflags=0 } 3524[1252218]: nsSocketTransportService::AddToIdleList [handler=1379210] 3524[1252218]: active=1 idle=1 3524[1252218]: nsSocketTransportService::RemoveFromPollList [handler=1379210] 3524[1252218]: index=0 mActiveCount=1 3524[1252218]: active=0 idle=1 3524[1252218]: calling PR_Poll [active=0 idle=1] 0[3b4330]: sending status notification [this=1c1e008 status=804b0006 progress=0/4294967295] 0[3b4330]: nsHttpChannel::OnStartRequest [this=1c1e008 request=136a3c0 status=0] 0[3b4330]: nsHttpChannel::ProcessResponse [this=1c1e008 httpStatus=200] 0[3b4330]: nsHttpHandler::NotifyObservers [chan=1c1e008 event="http-on-examine- response"] 0[3b4330]: nsHttpChannel::ProcessNormal [this=1c1e008] 0[3b4330]: nsHttpChannel::InitCacheEntry [this=1c1e008 entry=1ba49d0] 0[3b4330]: nsHttpResponseHead::MustValidate ?? 0[3b4330]: no mandatory validation requirement 0[3b4330]: nsHttpResponseHead::ComputeFreshnessLifetime [this = 1c75120] Insufficient information to compute a non-zero freshness lifetime! 0[3b4330]: calling mListener->OnStartRequest 0[3b4330]: nsHttpChannel::GetCacheKey [this=1c1e008] 3524[1252218]: nsHttpConnectionMgr::OnMsgReclaimConnection [conn=1b690e0] 3524[1252218]: adding connection to idle list 3524[1252218]: nsHttpConnectionMgr::OnMsgProcessPendingQ [ci=..www.google.com:80] 3524[1252218]: nsHttpConnectionMgr::ProcessPendingQForEntry [ci=..www.google.com:80] 3524[1252218]: nsHttpConnectionMgr::ProcessPendingQForEntry [ci=..www.google.com:80] 3524[1252218]: idle [0] { handler=1379210 condition=0 pollflags=0 } 3524[1252218]: calling PR_Poll [active=0 idle=1] 0[3b4330]: nsHttpChannel::ApplyContentConversions [this=1c1e008] 0[3b4330]: converter installed from 'gzip' to 'uncompressed' 0[3b4330]: Preparing to write data into the cache [uri=http://www.google.com/] 0[3b4330]: nsHttpChannel::OnDataAvailable [this=1c1e008 request=136a3c0 offset=0 count=1189] 0[3b4330]: nsHttpChannel::SetResponseHeader [this=1c1e008 header="content-type" value="text/html; charset=UTF-8" merge=1] 0[3b4330]: nsHttpHandler::NewURI 0[3b4330]: nsHttpHandler::NewProxiedChannel [proxyInfo=0] 0[3b4330]: Creating nsHttpChannel @1d57160 0[3b4330]: nsHttpChannel::Init [this=1d57160] 0[3b4330]: host=www.google.com port=-1 0[3b4330]: uri=http://www.google.com/images/logo.gif 0[3b4330]: Creating nsHttpConnectionInfo @1d57008 0[3b4330]: nsHttpHandler::AddStandardRequestHeaders 0[3b4330]: nsHttpChannel::SetRequestHeader [this=1d57160 header="Accept" value="image/png,image/jpeg,image/gif;q=0.2,*/*;q=0.1" merge=0] 0[3b4330]: nsHttpChannel::AsyncOpen [this=1d57160] 0[3b4330]: nsHttpHandler::NotifyObservers [chan=1d57160 event="http-on-modify- request"] 0[3b4330]: nsHttpChannel::Connect [this=1d57160] 0[3b4330]: nsHttpChannel::OpenCacheEntry [this=1d57160] 0[3b4330]: got cache entry [access=3] 0[3b4330]: nsHTTPChannel::CheckCache [this=1d57160 entry=1d57930] 0[3b4330]: nsHttpResponseHead::Parse [this=1d58688] 0[3b4330]: nsHttpResponseHead::ParseVersion [version=HTTP/1.1 200 OK] 0[3b4330]: Have status line [version=11 status=200 statusText=OK] 0[3b4330]: nsHttpResponseHead::ParseContentType [type=image/gif] 0[3b4330]: nsHttpResponseHead::MustValidate ?? 0[3b4330]: no mandatory validation requirement 0[3b4330]: Not validating based on expiration time 0[3b4330]: CheckCache [this=1d57160 doValidation=0] 0[3b4330]: nsHttpChannel::ReadFromCache [this=1d57160] Using cached copy of: http://www.google.com/images/logo.gif 0[3b4330]: nsHttpChannel::OnStopRequest [this=1c1e008 request=136a3c0 status=0] 0[3b4330]: nsHttpTransaction::DeleteSelfOnConsumerThread [this=13d97f8] 0[3b4330]: proxying delete to consumer thread... 0[3b4330]: nsHttpChannel::FinalizeCacheEntry [this=1c1e008] 0[3b4330]: calling OnStopRequest 0[3b4330]: nsHttpHandler::NewURI 0[3b4330]: nsHttpHandler::NewURI 0[3b4330]: nsHttpHandler::NewURI 0[3b4330]: nsHttpHandler::NewURI 0[3b4330]: nsHttpHandler::NewURI 0[3b4330]: nsHttpHandler::NewURI 0[3b4330]: nsHttpHandler::NewURI 0[3b4330]: nsHttpHandler::NewURI 0[3b4330]: nsHttpHandler::NewURI 0[3b4330]: nsHttpHandler::NewURI 0[3b4330]: nsHttpHandler::NewURI 0[3b4330]: nsHttpHandler::NewURI 0[3b4330]: nsHttpChannel::CloseCacheEntry [this=1c1e008 status=0] 0[3b4330]: nsHttpResponseHead::Reset 0[3b4330]: nsHttpChannel::OnStartRequest [this=1d57160 request=1d4d598 status=0] 0[3b4330]: calling mListener->OnStartRequest 0[3b4330]: nsHttpChannel::ApplyContentConversions [this=1d57160] 0[3b4330]: nsHttpChannel::OnDataAvailable [this=1d57160 request=1d4d598 offset=0 count=8558] 0[3b4330]: nsHttpChannel::OnStopRequest [this=1d57160 request=1d4d598 status=0] 0[3b4330]: nsHttpChannel::FinalizeCacheEntry [this=1d57160] 0[3b4330]: calling OnStopRequest 0[3b4330]: nsHttpChannel::CloseCacheEntry [this=1d57160 status=0] 0[3b4330]: Destroying nsHttpChannel @1d57160 0[3b4330]: nsHttpResponseHead::Reset 0[3b4330]: Destroying nsHttpConnectionInfo @1d57008 0[3b4330]: nsHttpTransaction::DeleteThis_EventHandlerFunc [trans=13d97f8] 0[3b4330]: Destroying nsHttpTransaction @13d97f8 0[3b4330]: nsHttpHandler::NewURI 0[3b4330]: nsHttpHandler::NewProxiedChannel [proxyInfo=0] 0[3b4330]: Creating nsHttpChannel @1d57160 0[3b4330]: nsHttpChannel::Init [this=1d57160] 0[3b4330]: host=www.google.com port=-1 0[3b4330]: uri=http://www.google.com/favicon.ico 0[3b4330]: Creating nsHttpConnectionInfo @13c3880 0[3b4330]: nsHttpHandler::AddStandardRequestHeaders 0[3b4330]: nsHttpChannel::SetRequestHeader [this=1d57160 header="Accept" value="image/png,image/jpeg,image/gif;q=0.2,*/*;q=0.1" merge=0] 0[3b4330]: nsHttpChannel::AsyncOpen [this=1d57160] 0[3b4330]: nsHttpHandler::NotifyObservers [chan=1d57160 event="http-on-modify- request"] 0[3b4330]: nsHttpChannel::Connect [this=1d57160] 0[3b4330]: nsHttpChannel::OpenCacheEntry [this=1d57160] 0[3b4330]: got cache entry [access=3] 0[3b4330]: nsHTTPChannel::CheckCache [this=1d57160 entry=1b90620] 0[3b4330]: nsHttpResponseHead::Parse [this=1396a58] 0[3b4330]: nsHttpResponseHead::ParseVersion [version=HTTP/1.1 200 OK] 0[3b4330]: Have status line [version=11 status=200 statusText=OK] 0[3b4330]: nsHttpResponseHead::ParseContentType [type=image/x-icon] 0[3b4330]: nsHttpResponseHead::MustValidate ?? 0[3b4330]: no mandatory validation requirement 0[3b4330]: Not validating based on expiration time 0[3b4330]: CheckCache [this=1d57160 doValidation=0] 0[3b4330]: nsHttpChannel::ReadFromCache [this=1d57160] Using cached copy of: http://www.google.com/favicon.ico 0[3b4330]: nsHttpChannel::OnStartRequest [this=1d57160 request=1d3ce60 status=0] 0[3b4330]: calling mListener->OnStartRequest 0[3b4330]: nsHttpChannel::ApplyContentConversions [this=1d57160] 0[3b4330]: nsHttpChannel::OnDataAvailable [this=1d57160 request=1d3ce60 offset=0 count=1406] 0[3b4330]: nsHttpChannel::OnStopRequest [this=1d57160 request=1d3ce60 status=0] 0[3b4330]: nsHttpChannel::FinalizeCacheEntry [this=1d57160] 0[3b4330]: calling OnStopRequest 0[3b4330]: nsHttpChannel::CloseCacheEntry [this=1d57160 status=0] 0[3b4330]: Destroying nsHttpChannel @1d57160 0[3b4330]: nsHttpResponseHead::Reset 0[3b4330]: Destroying nsHttpConnectionInfo @13c3880 0[3b4330]: nsHttpHandler::NewURI 0[3b4330]: nsHttpHandler::NewURI 0[3b4330]: nsHttpHandler::Observe [topic="timer-callback"] 0[3b4330]: nsSocketTransportService::PostEvent [event=13b5760] 3524[1252218]: nsHttpConnectionMgr::OnMsgPruneDeadConnections 3524[1252218]: pruning [ci=..www.google.com:80] 3524[1252218]: idle [0] { handler=1379210 condition=0 pollflags=0 } 3524[1252218]: calling PR_Poll [active=0 idle=1] 0[3b4330]: nsHttpHandler::NewURI 0[3b4330]: nsHttpHandler::NewURI 0[3b4330]: nsHttpHandler::NewURI 0[3b4330]: nsHttpHandler::NewProxiedChannel [proxyInfo=0] 0[3b4330]: Creating nsHttpChannel @1d83e18 0[3b4330]: nsHttpChannel::Init [this=1d83e18] 0[3b4330]: host=dto-dc01 port=-1 0[3b4330]: uri=http://dto-dc01/docs/logsumm.pl 0[3b4330]: Creating nsHttpConnectionInfo @1392c28 0[3b4330]: nsHttpHandler::AddStandardRequestHeaders 0[3b4330]: nsHttpChannel::AsyncOpen [this=1d83e18] 0[3b4330]: nsHttpHandler::NotifyObservers [chan=1d83e18 event="http-on-modify- request"] 0[3b4330]: nsHttpChannel::Connect [this=1d83e18] 0[3b4330]: nsHttpChannel::OpenCacheEntry [this=1d83e18] 0[3b4330]: got cache entry [access=2] 0[3b4330]: nsHTTPChannel::CheckCache [this=1d83e18 entry=1b57e80] 0[3b4330]: nsHttpChannel::AddAuthorizationHeaders? [this=1d83e18] 0[3b4330]: nsHttpAuthCache::GetAuthEntryForPath [host=dto-dc01:80 path=/docs/] 0[3b4330]: nsHttpChannel::SetupTransaction [this=1d83e18] 0[3b4330]: Creating nsHttpTransaction @1380270 0[3b4330]: nsHttpTransaction::Init [this=1380270 caps=1] 0[3b4330]: http request [ 0[3b4330]: GET /docs/logsumm.pl HTTP/1.1 0[3b4330]: Host: dto-dc01 0[3b4330]: User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040206 Firefox/0.8 0[3b4330]: Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8, video/x-mng,image/png,image/jpeg,image/gif;q=0.2,*/*;q=0.1 0[3b4330]: Accept-Language: en-us,en;q=0.5 0[3b4330]: Accept-Encoding: gzip,deflate 0[3b4330]: Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7 0[3b4330]: Keep-Alive: 300 0[3b4330]: Connection: keep-alive 0[3b4330]: ] 0[3b4330]: nsHttpConnectionMgr::AddTransaction [trans=1380270] 0[3b4330]: nsSocketTransportService::PostEvent [event=1398b08] 3524[1252218]: nsHttpConnectionMgr::OnMsgNewTransaction [trans=1380270] 3524[1252218]: nsHttpConnectionMgr::GetConnection [ci=..dto-dc01:80 caps=1] 3524[1252218]: nsHttpConnectionMgr::AtActiveConnectionLimit [ci=..dto-dc01:80 caps=1] 3524[1252218]: total=0, persist=0 3524[1252218]: Creating nsHttpConnection @14b4950 3524[1252218]: nsHttpConnection::Init [this=14b4950] 3524[1252218]: nsHttpConnectionMgr::DispatchTransaction [ci=..dto-dc01:80 trans=1380270 caps=1 conn=14b4950] 3524[1252218]: nsHttpConnection::Activate [this=14b4950 trans=1380270 caps=1] 3524[1252218]: creating nsSocketTransport @1d49008 3524[1252218]: nsSocketTransport::Init [this=1d49008 host=dto-dc01:80 proxy=:0] 3524[1252218]: nsSocketTransport::OpenOutputStream [this=1d49008 flags=2] 3524[1252218]: nsSocketTransport::PostEvent [this=1d49008 type=0 status=0 param=0] 3524[1252218]: nsSocketTransportService::PostEvent [event=139a508] 3524[1252218]: nsSocketTransport::OpenInputStream [this=1d49008 flags=2] 3524[1252218]: nsSocketTransport::PostEvent [this=1d49008 type=0 status=0 param=0] 3524[1252218]: nsSocketTransportService::PostEvent [event=13a1db0] 3524[1252218]: nsSocketOutputStream::AsyncWait [this=1d490b8] 3524[1252218]: idle [0] { handler=1379210 condition=0 pollflags=0 } 3524[1252218]: calling PR_Poll [active=0 idle=1] 3524[1252218]: nsSocketTransport::OnSocketEvent [this=1d49008 type=0 status=0 param=0] 3524[1252218]: MSG_ENSURE_CONNECT 3524[1252218]: nsSocketTransport::ResolveHost [this=1d49008] 3524[1252218]: advancing to STATE_RESOLVING 3524[1252218]: nsSocketTransport::SendStatus [this=1d49008 status=804b0003] 3524[1252218]: nsHttpTransaction::OnSocketStatus [this=1380270 status=804b0003 progress=0] 3524[1252218]: nsSocketTransport::OnSocketEvent [this=1d49008 type=0 status=0 param=0] 3524[1252218]: MSG_ENSURE_CONNECT 3524[1252218]: ignoring redundant event 3524[1252218]: idle [0] { handler=1379210 condition=0 pollflags=0 } 3524[1252218]: calling PR_Poll [active=0 idle=1] 3508[1c1cc20]: nsSocketTransport::PostEvent [this=1d49008 type=1 status=0 param=1c86e98] 3508[1c1cc20]: nsSocketTransportService::PostEvent [event=1369478] 3524[1252218]: nsSocketTransport::OnSocketEvent [this=1d49008 type=1 status=0 param=1c86e98] 3524[1252218]: MSG_DNS_LOOKUP_COMPLETE 3524[1252218]: nsSocketTransport::InitiateSocket [this=1d49008] 3524[1252218]: nsSocketTransport::BuildSocket [this=1d49008] 3524[1252218]: nsSocketTransportService::AttachSocket [handler=1d49008] 3524[1252218]: nsSocketTransportService::AddToIdleList [handler=1d49008] 3524[1252218]: active=0 idle=2 3524[1252218]: advancing to STATE_CONNECTING 3524[1252218]: nsSocketTransport::SendStatus [this=1d49008 status=804b0007] 3524[1252218]: nsHttpTransaction::OnSocketStatus [this=1380270 status=804b0007 progress=0] 3524[1252218]: trying address: 172.18.51.35 3524[1252218]: idle [1] { handler=1d49008 condition=0 pollflags=6 } 3524[1252218]: nsSocketTransportService::AddToPollList [handler=1d49008] 3524[1252218]: active=1 idle=2 3524[1252218]: nsSocketTransportService::RemoveFromIdleList [handler=1d49008] 3524[1252218]: active=1 idle=1 3524[1252218]: idle [0] { handler=1379210 condition=0 pollflags=0 } 3524[1252218]: calling PR_Poll [active=1 idle=1] 3524[1252218]: nsSocketTransport::OnSocketReady [this=1d49008 outFlags=2] 0[3b4330]: sending status notification [this=1d83e18 status=804b0007 progress=0/0] 3524[1252218]: advancing to STATE_TRANSFERRING 3524[1252218]: nsSocketTransport::SendStatus [this=1d49008 status=804b0004] 3524[1252218]: nsHttpTransaction::OnSocketStatus [this=1380270 status=804b0004 progress=0] 3524[1252218]: active [0] { handler=1d49008 condition=0 pollflags=7 } 3524[1252218]: idle [0] { handler=1379210 condition=0 pollflags=0 } 3524[1252218]: calling PR_Poll [active=1 idle=1] 3524[1252218]: nsSocketTransport::OnSocketReady [this=1d49008 outFlags=2] 3524[1252218]: nsSocketOutputStream::OnSocketReady [this=1d490b8 cond=0] 3524[1252218]: nsHttpConnection::OnSocketWritable [this=14b4950] 3524[1252218]: writing transaction request stream 3524[1252218]: nsSocketOutputStream::Write [this=1d490b8 count=446] 3524[1252218]: calling PR_Write [count=446] 3524[1252218]: PR_Write returned [n=446] 3524[1252218]: nsSocketTransport::SendStatus [this=1d49008 status=804b0005] 3524[1252218]: nsHttpTransaction::OnSocketStatus [this=1380270 status=804b0005 progress=446] 3524[1252218]: ReadSegments returned [rv=0 read=446 sock-cond=0] 3524[1252218]: writing transaction request stream 3524[1252218]: ReadSegments returned [rv=0 read=0 sock-cond=0] 3524[1252218]: nsHttpTransaction::OnSocketStatus [this=1380270 status=804b000a progress=0] 3524[1252218]: nsSocketInputStream::AsyncWait [this=1d4909c] 3524[1252218]: active [0] { handler=1d49008 condition=0 pollflags=5 } 3524[1252218]: idle [0] { handler=1379210 condition=0 pollflags=0 } 3524[1252218]: calling PR_Poll [active=1 idle=1] 0[3b4330]: sending status notification [this=1d83e18 status=804b000a progress=0/0] 3524[1252218]: nsSocketTransport::OnSocketReady [this=1d49008 outFlags=1] 3524[1252218]: nsSocketInputStream::OnSocketReady [this=1d4909c cond=0] 3524[1252218]: nsHttpConnection::OnSocketReadable [this=14b4950] 3524[1252218]: nsSocketInputStream::Read [this=1d4909c count=4096] 3524[1252218]: calling PR_Read [count=4096] 3524[1252218]: PR_Read returned [n=243] 3524[1252218]: nsSocketTransport::SendStatus [this=1d49008 status=804b0006] 3524[1252218]: nsHttpTransaction::OnSocketStatus [this=1380270 status=804b0006 progress=243] 3524[1252218]: nsHttpTransaction::ProcessData [this=1380270 count=243] 3524[1252218]: nsHttpTransaction::ParseHead [count=243] 3524[1252218]: nsHttpTransaction::ParseLine [HTTP/1.1 200 OK] 3524[1252218]: nsHttpResponseHead::ParseVersion [version=HTTP/1.1 200 OK] 3524[1252218]: Have status line [version=11 status=200 statusText=OK] 3524[1252218]: nsHttpTransaction::ParseLine [Server: Microsoft-IIS/4.0] 3524[1252218]: nsHttpTransaction::ParseLine [Date: Mon, 29 Mar 2004 14:13:54 GMT] 3524[1252218]: nsHttpTransaction::ParseLine [Connection: close] 3524[1252218]: nsHttpTransaction::ParseLine [Content-Type: application/octet- stream] 3524[1252218]: nsHttpResponseHead::ParseContentType [type=application/octet- stream] 3524[1252218]: nsHttpTransaction::ParseLine [<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"] 3524[1252218]: nsHttpTransaction::ParseLine ["http://www.w3.org/TR/html4/strict.dtd">] 3524[1252218]: nsHttpTransaction::ParseLine [<html>] 3524[1252218]: nsHttpTransaction::HandleContent [this=1380270 count=0] 3524[1252218]: nsHttpTransaction::HandleContentStart [this=1380270] 3524[1252218]: http response [ 3524[1252218]: HTTP/1.1 200 OK 3524[1252218]: Server: Microsoft-IIS/4.0 3524[1252218]: Date: Mon, 29 Mar 2004 14:13:54 GMT 3524[1252218]: Connection: close 3524[1252218]: Content-Type: application/octet-stream 3524[1252218]: <!DOCTYPE: HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" 3524[1252218]: "http: //www.w3.org/TR/html4/strict.dtd"> 3524[1252218]: ] 3524[1252218]: nsHttpConnection::OnHeadersAvailable [this=14b4950 trans=1380270 response-head=1c51ec0] 3524[1252218]: waiting for the server to close the connection. 3524[1252218]: nsHttpTransaction [this=1380270 count=0 read=0 mContentRead=0 mContentLength=-1] 3524[1252218]: nsSocketInputStream::Read [this=1d4909c count=4096] 3524[1252218]: calling PR_Read [count=4096] 3524[1252218]: PR_Read returned [n=-1] 3524[1252218]: nsSocketInputStream::AsyncWait [this=1d4909c] 3524[1252218]: active [0] { handler=1d49008 condition=0 pollflags=5 } 3524[1252218]: idle [0] { handler=1379210 condition=0 pollflags=0 } 3524[1252218]: calling PR_Poll [active=1 idle=1] 3524[1252218]: nsSocketTransport::OnSocketReady [this=1d49008 outFlags=1] 3524[1252218]: nsSocketInputStream::OnSocketReady [this=1d4909c cond=0] 3524[1252218]: nsHttpConnection::OnSocketReadable [this=14b4950] 3524[1252218]: nsSocketInputStream::Read [this=1d4909c count=4096] 3524[1252218]: calling PR_Read [count=4096] 3524[1252218]: PR_Read returned [n=1879] 3524[1252218]: nsSocketTransport::SendStatus [this=1d49008 status=804b0006] 3524[1252218]: nsHttpTransaction::OnSocketStatus [this=1380270 status=804b0006 progress=2122] 3524[1252218]: nsHttpTransaction::ProcessData [this=1380270 count=1879] 3524[1252218]: nsHttpTransaction::HandleContent [this=1380270 count=1879] 3524[1252218]: nsHttpTransaction [this=1380270 count=1879 read=1879 mContentRead=1879 mContentLength=-1] 3524[1252218]: nsSocketInputStream::Read [this=1d4909c count=2217] 3524[1252218]: calling PR_Read [count=2217] 3524[1252218]: PR_Read returned [n=-1] 3524[1252218]: nsSocketInputStream::AsyncWait [this=1d4909c] 3524[1252218]: active [0] { handler=1d49008 condition=0 pollflags=5 } 3524[1252218]: idle [0] { handler=1379210 condition=0 pollflags=0 } 3524[1252218]: calling PR_Poll [active=1 idle=1] 3524[1252218]: nsSocketTransport::OnSocketReady [this=1d49008 outFlags=1] 3524[1252218]: nsSocketInputStream::OnSocketReady [this=1d4909c cond=0] 3524[1252218]: nsHttpConnection::OnSocketReadable [this=14b4950] 3524[1252218]: nsSocketInputStream::Read [this=1d4909c count=2217] 3524[1252218]: calling PR_Read [count=2217] 3524[1252218]: PR_Read returned [n=0] 3524[1252218]: nsHttpConnection::CloseTransaction[this=14b4950 trans=1380270 reason=80470002] 3524[1252218]: nsHttpTransaction::Close [this=1380270 reason=0] 3524[1252218]: nsHttpConnectionMgr::ReclaimConnection [conn=14b4950] 3524[1252218]: nsSocketTransportService::PostEvent [event=137af78] 3524[1252218]: active [0] { handler=1d49008 condition=0 pollflags=0 } 3524[1252218]: nsSocketTransportService::AddToIdleList [handler=1d49008] 3524[1252218]: active=1 idle=2 3524[1252218]: nsSocketTransportService::RemoveFromPollList [handler=1d49008] 3524[1252218]: index=0 mActiveCount=1 3524[1252218]: active=0 idle=2 3524[1252218]: idle [0] { handler=1379210 condition=0 pollflags=0 } 3524[1252218]: calling PR_Poll [active=0 idle=2] 3524[1252218]: nsHttpConnectionMgr::OnMsgReclaimConnection [conn=14b4950] 3524[1252218]: connection cannot be reused; closing connection 3524[1252218]: nsHttpConnection::Close [this=14b4950 reason=80004004] 3524[1252218]: nsSocketInputStream::CloseWithStatus [this=1d4909c reason=80004004] 3524[1252218]: nsSocketTransport::OnMsgInputClosed [this=1d49008 reason=80004004] 3524[1252218]: nsSocketOutputStream::CloseWithStatus [this=1d490b8 reason=80004004] 3524[1252218]: nsSocketTransport::OnMsgOutputClosed [this=1d49008 reason=80004004] 3524[1252218]: nsHttpConnectionMgr::OnMsgProcessPendingQ [ci=..dto-dc01:80] 3524[1252218]: nsHttpConnectionMgr::ProcessPendingQForEntry [ci=..dto-dc01:80] 3524[1252218]: nsHttpConnectionMgr::ProcessPendingQForEntry [ci=..dto-dc01:80] 3524[1252218]: nsHttpConnectionMgr::ProcessPendingQForEntry [ci=..www.google.com:80] 3524[1252218]: Destroying nsHttpConnection @14b4950 3524[1252218]: nsSocketOutputStream::CloseWithStatus [this=1d490b8 reason=80470002] 3524[1252218]: nsSocketInputStream::CloseWithStatus [this=1d4909c reason=80470002] 3524[1252218]: idle [1] { handler=1d49008 condition=80004004 pollflags=0 } 3524[1252218]: nsSocketTransportService::DetachSocket [handler=1d49008] 3524[1252218]: nsSocketTransport::OnSocketDetached [this=1d49008 cond=80004004] 3524[1252218]: nsSocketTransport::RecoverFromError [this=1d49008 state=4 cond=80004004] 3524[1252218]: nsSocketInputStream::OnSocketReady [this=1d4909c cond=80004004] 3524[1252218]: nsSocketOutputStream::OnSocketReady [this=1d490b8 cond=80004004] 3524[1252218]: nsSocketTransport: calling PR_Close [this=1d49008] 3524[1252218]: destroying nsSocketTransport @1d49008 3524[1252218]: nsSocketTransportService::RemoveFromIdleList [handler=0] 3524[1252218]: active=0 idle=1 3524[1252218]: idle [0] { handler=1379210 condition=0 pollflags=0 } 3524[1252218]: calling PR_Poll [active=0 idle=1] 0[3b4330]: sending status notification [this=1d83e18 status=804b0006 progress=0/4294967295] 0[3b4330]: nsHttpChannel::OnStartRequest [this=1d83e18 request=1ba7038 status=0] 0[3b4330]: nsHttpChannel::ProcessResponse [this=1d83e18 httpStatus=200] 0[3b4330]: nsHttpHandler::NotifyObservers [chan=1d83e18 event="http-on-examine- response"] 0[3b4330]: nsHttpChannel::ProcessNormal [this=1d83e18] 0[3b4330]: nsHttpChannel::InitCacheEntry [this=1d83e18 entry=1b57e80] 0[3b4330]: nsHttpResponseHead::MustValidate ?? 0[3b4330]: no mandatory validation requirement 0[3b4330]: nsHttpResponseHead::ComputeFreshnessLifetime [this = 1c51ec0] Insufficient information to compute a non-zero freshness lifetime! 0[3b4330]: calling mListener->OnStartRequest 0[3b4330]: nsHttpChannel::SetApplyConversion [this=1d83e18 value=1] 0[3b4330]: nsHttpChannel::ApplyContentConversions [this=1d83e18] 0[3b4330]: Preparing to write data into the cache [uri=http://dto- dc01/docs/logsumm.pl] 0[3b4330]: nsHttpChannel::OnDataAvailable [this=1d83e18 request=1ba7038 offset=0 count=1879] 0[3b4330]: nsHttpChannel::OnStopRequest [this=1d83e18 request=1ba7038 status=0] 0[3b4330]: nsHttpTransaction::DeleteSelfOnConsumerThread [this=1380270] 0[3b4330]: Destroying nsHttpTransaction @1380270 0[3b4330]: nsHttpChannel::FinalizeCacheEntry [this=1d83e18] 0[3b4330]: calling OnStopRequest 0[3b4330]: nsHttpChannel::CloseCacheEntry [this=1d83e18 status=0] 0[3b4330]: Destroying nsHttpChannel @1d83e18 0[3b4330]: nsHttpResponseHead::Reset 0[3b4330]: nsHttpHandler::Observe [topic="timer-callback"] 0[3b4330]: nsSocketTransportService::PostEvent [event=1db3800] 3524[1252218]: nsHttpConnectionMgr::OnMsgPruneDeadConnections 3524[1252218]: pruning [ci=..dto-dc01:80] 3524[1252218]: removing empty connection entry 3524[1252218]: Destroying nsHttpConnectionInfo @1392c28 3524[1252218]: pruning [ci=..www.google.com:80] 3524[1252218]: idle [0] { handler=1379210 condition=0 pollflags=0 } 3524[1252218]: calling PR_Poll [active=0 idle=1] 0[3b4330]: nsHttpHandler::Observe [topic="timer-callback"] 0[3b4330]: nsSocketTransportService::PostEvent [event=1e03158] 3524[1252218]: nsHttpConnectionMgr::OnMsgPruneDeadConnections 3524[1252218]: pruning [ci=..www.google.com:80] 3524[1252218]: idle [0] { handler=1379210 condition=0 pollflags=0 } 3524[1252218]: calling PR_Poll [active=0 idle=1] 0[3b4330]: nsHttpHandler::Observe [topic="profile-change-net-teardown"] 0[3b4330]: nsHttpHandler::StopPruneDeadConnectionsTimer 0[3b4330]: nsHttpAuthCache::ClearAll 0[3b4330]: nsHttpConnectionMgr::Shutdown 0[3b4330]: nsSocketTransportService::PostEvent [event=1b50558] 3524[1252218]: nsHttpConnectionMgr::OnMsgShutdown 3524[1252218]: nsHttpConnection::Close [this=1b690e0 reason=80004004] 3524[1252218]: nsSocketInputStream::CloseWithStatus [this=13792a4 reason=80004004] 3524[1252218]: nsSocketTransport::OnMsgInputClosed [this=1379210 reason=80004004] 3524[1252218]: nsSocketOutputStream::CloseWithStatus [this=13792c0 reason=80004004] 3524[1252218]: nsSocketTransport::OnMsgOutputClosed [this=1379210 reason=80004004] 3524[1252218]: Destroying nsHttpConnection @1b690e0 3524[1252218]: nsSocketOutputStream::CloseWithStatus [this=13792c0 reason=80470002] 3524[1252218]: nsSocketInputStream::CloseWithStatus [this=13792a4 reason=80470002] 3524[1252218]: idle [0] { handler=1379210 condition=80004004 pollflags=0 } 3524[1252218]: nsSocketTransportService::DetachSocket [handler=1379210] 3524[1252218]: nsSocketTransport::OnSocketDetached [this=1379210 cond=80004004] 3524[1252218]: nsSocketTransport::RecoverFromError [this=1379210 state=4 cond=80004004] 3524[1252218]: nsSocketInputStream::OnSocketReady [this=13792a4 cond=80004004] 3524[1252218]: nsSocketOutputStream::OnSocketReady [this=13792c0 cond=80004004] 3524[1252218]: nsSocketTransport: calling PR_Close [this=1379210] 3524[1252218]: destroying nsSocketTransport @1379210 3524[1252218]: nsSocketTransportService::RemoveFromIdleList [handler=0] 3524[1252218]: active=0 idle=0 3524[1252218]: calling PR_Poll [active=0 idle=0] 0[3b4330]: nsSocketTransportService::Shutdown 3524[1252218]: shutting down socket transport thread... 0[3b4330]: Destroying nsHttpChannel @1c1e008 0[3b4330]: nsHttpResponseHead::Reset 0[3b4330]: Destroying nsHttpConnectionInfo @13cce20 0[3b4330]: nsHttpHandler::Observe [topic="xpcom-shutdown"] 0[3b4330]: nsHttpHandler::StopPruneDeadConnectionsTimer 0[3b4330]: nsHttpAuthCache::ClearAll 0[3b4330]: nsHttpConnectionMgr::Shutdown 0[3b4330]: nsSocketTransportService::Shutdown 0[3b4330]: Deleting nsHttpHandler [this=122b860] 0[3b4330]: nsHttpConnectionMgr::Shutdown 0[3b4330]: Destroying nsHttpConnectionMgr @1320570 Hope this helps out.
Steve, thank you. The relavant part of that log is the following response header sent by your server: 3524[1252218]: Content-Type: application/octet-stream IE has a known bug -- it pretty much ignores the Content-Type header and guesses based on what it thinks the content of the page is. Mozilla follows the server-provided header if it exists, so we're doing the right thing.
Marking invalid.
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago
Resolution: --- → INVALID
Wait. Before we close this out, here is the HTML that is produced by the CGI script with no servers. How is it interpreting this as an octet stream? <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <meta name="GENERATOR" content="Server CGI script"> <title>Log File Highlights</title> </head> <body bgcolor="#FFFFFF"> <table border="0" cellspacing="0" cellpadding="0" width="100%" height="80" bgcolor="#191970"> <tr> <td><h1><p align="center"><font color="gainsboro"><b>Server Selection </b></font></p></h1></td> </tr> </table> <table border="0" cellspacing="0" cellpadding="0" width="100%" height="12" bgcolor="black"> <tr> <td><p align="center"><font color="gainsboro"><b> <a href="Replace with Link"><FONT FACE=Verdana,Helvetica,Arial SIZE="2" color="#ffffff">Replace With Link</a> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</font> <a href="Replace with link"><FONT FACE=Verdana,Helvetica,Arial SIZE="2" color="#ffffff">Replace with Link</a> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</font> <a href="Replace with Link"><FONT FACE=Verdana,Helvetica,Arial SIZE="2" color="#ffffff">Replace with Link</a></font> </b></font></p></td> </tr> </table> <table border="0" cellspacing="0" cellpadding="0" width="100%"><tr> <td width="113" bgcolor="#191970" align="center" valign="top"><p> <A href="Replace with Link"> <font face="Verdana,Helvetica,Arial" color="gainsboro" SIZE="3"><br><br><B>Replace with Link<p></p></B></FONT></a><BR> <A href="Replace With Link"> <font face="Verdana,Helvetica,Arial" color="gainsboro" SIZE="3"><br><br><B>Replace with Link<p></p></B></FONT></a><BR> </td><td> </td></tr></table> <table border="0" cellpadding="0" cellspacing="0" width="100%"> <tr> <td width="100%" bgcolor="#000000"><b> <A href="replace with link"><b><FONT FACE=Verdana,Helvetica,Arial SIZE="2" color="#ffffff"> <p align="center">Replace With Link</p></font></b></a></td> </tr> </table>
Status: RESOLVED → UNCONFIRMED
Resolution: INVALID → ---
Steve, I have no idea why your server is sending application/octet-stream, but it is. Presumably, your server sees that the CGI did not specify a type and guesses in some way (based on the extension of the file or something silly like that?) In any case, that's an issue with the server, not with Mozilla.
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago21 years ago
Resolution: --- → INVALID
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.