Closed
Bug 280358
Opened 20 years ago
Closed 20 years ago
[FIX]Better document nsIHttpChannel
Categories
(Core :: Networking: HTTP, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: bzbarsky, Assigned: bzbarsky)
Details
Attachments
(1 file)
9.69 KB,
patch
|
darin.moz
:
review+
darin.moz
:
superreview+
|
Details | Diff | Splinter Review |
Some methods on nsIHttpChannel don't document behavior in common cases...
![]() |
Assignee | |
Comment 1•20 years ago
|
||
Attachment #172816 -
Flags: superreview?(darin)
Attachment #172816 -
Flags: review?(darin)
Comment 2•20 years ago
|
||
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+
Comment 3•20 years ago
|
||
+ * @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 ""...
![]() |
Assignee | |
Comment 4•20 years ago
|
||
> s/FAILURE/PROGRESS/
Actually, s/IN_//. The function returns NS_ERROR_FAILURE if mPending is set.
![]() |
Assignee | |
Comment 5•20 years ago
|
||
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.
Description
•