Closed Bug 280358 Opened 20 years ago Closed 20 years ago

[FIX]Better document nsIHttpChannel

Categories

(Core :: Networking: HTTP, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: bzbarsky, Assigned: bzbarsky)

Details

Attachments

(1 file)

Some methods on nsIHttpChannel don't document behavior in common cases...
Attachment #172816 - Flags: superreview?(darin)
Attachment #172816 - Flags: review?(darin)
Comment on attachment 172816 [details] [diff] [review] Something like this >Index: netwerk/protocol/http/public/nsIHttpChannel.idl >+ * This attribute may only be set before the channel is opened. >+ * >+ * @throws NS_ERROR_IN_FAILURE if set after the channel has been opened. > */ > attribute boolean allowPipelining; s/FAILURE/PROGRESS/ r+sr=darin
Attachment #172816 - Flags: superreview?(darin)
Attachment #172816 - Flags: superreview+
Attachment #172816 - Flags: review?(darin)
Attachment #172816 - Flags: review+
+ * @throws NS_ERROR_NOT_AVAILABLE if the header has no value (is not set). */ ACString getRequestHeader(in ACString aHeader); "if the header is not set"? to make it clear that it won't be thrown for ""...
> s/FAILURE/PROGRESS/ Actually, s/IN_//. The function returns NS_ERROR_FAILURE if mPending is set.
checked in, with the issues fixed.
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: