Bug 26286 - Clean up the usage of "httpStatusCode() / 100" in WebCore.
Summary: Clean up the usage of "httpStatusCode() / 100" in WebCore.
Status: RESOLVED WONTFIX
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P3 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-09 18:11 PDT by Jian Li
Modified: 2009-06-09 18:32 PDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jian Li 2009-06-09 18:11:43 PDT
There're many places in WebCore that check HTTP response code like the following:
   if (response.httpStatusCode() / 100 != 2 && response.httpStatusCode() != 0)

This is ugly. We need to clean them up.
Comment 1 Jian Li 2009-06-09 18:32:55 PDT
Per discussion with other people, we feel that we do not want to fix this problem since it is a custom that has been widely used in WebCore.