content_length = 0 for http channel

RESOLVED INVALID

Status

()

Core
Networking: HTTP
P3
normal
RESOLVED INVALID
18 years ago
15 years ago

People

(Reporter: pnunn, Assigned: Gagan)

Tracking

Trunk
x86
Windows NT
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(URL)

(Reporter)

Description

18 years ago
channel->GetContentLength() works for file channel, but not
for http channel or jar channel.

mResponse=0 in nsHTTPChannel::GetContentLength(), which
returns an error.

-p
(Assignee)

Comment 1

18 years ago
Pam it depends on where you are checking the content length. If you check it
before the connection is established then the content length would be zero. So
let me know where you are seeing this. The api otherwise does the right thing.
(marking invalid)
Status: NEW → RESOLVED
Last Resolved: 18 years ago
Resolution: --- → INVALID

Updated

15 years ago
QA Contact: tever → benc

Updated

15 years ago
Component: Networking → Networking: HTTP
QA Contact: benc → tever
You need to log in before you can comment on or make changes to this bug.