Closed Bug 55415 Opened 24 years ago Closed 24 years ago

content_length = 0 for http channel

Categories

(Core :: Networking: HTTP, defect, P3)

x86
Windows NT
defect

Tracking

()

RESOLVED INVALID

People

(Reporter: pnunn, Assigned: gagan)

References

()

Details

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

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

-p
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
Closed: 24 years ago
Resolution: --- → INVALID
QA Contact: tever → benc
Component: Networking → Networking: HTTP
QA Contact: benc → tever
You need to log in before you can comment on or make changes to this bug.