Open Bug 289170 Opened 19 years ago Updated 2 years ago

make contentLength users use nsIPropertyBag2

Categories

(Core :: Networking, defect, P5)

x86
Linux
defect

Tracking

()

People

(Reporter: Biesinger, Unassigned)

Details

(Whiteboard: [necko-would-take])

[filing this in networking, but really, this is about all the code in the tree.]

Callers of nsIChannel.contentLength should prefer getting the "content-length"
property, because this is a 64-bit value. This bug is about converting callers
to use that (although they should still fallback to nsIChannel.contentLength).

(maybe a NS_GetContentLength(nsIChannel*, PRUint64*); helper function would be a
good thing?)
Yeah, I like the NS_GetContentLength approach.
Assignee: darin → nobody
QA Contact: benc → networking
Whiteboard: [necko-would-take]
Bulk change to priority: https://bugzilla.mozilla.org/show_bug.cgi?id=1399258
Priority: -- → P5
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.