Bug 8019

Summary: WebCore needs cross platform HttpRequest class
Product: WebKit Reporter: Justin Haygood <jhaygood>
Component: New BugsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: ap, bugs-webkit, eric, ian, mjs, webkit
Priority: P2    
Version: 420+   
Hardware: PC   
OS: Windows Server 2003   
Bug Depends on:    
Bug Blocks: 3356    

Justin Haygood
Reported 2006-03-27 19:56:22 PST
WebCore could really use a cross-platform HttpRequest class for network access that abstracts away: * HTTP * HTTPS * FTP optionally, then it would have to be changed to more URLRequest Http Properties to be set: * URL * Method (GET, POST, HEAD) * Headers (User Agent) -- both before and after sending request * Cookies -- both before and after sending request Why: * This would simplify porting efforts (specially for Windows, and possibly Linux) and get rid of alot of redundant code, when all consumers could access this base class. This would also guarantee specific functionality, and simplify implementation of it PROS: * Simpler * More Portable * Less Redundant Code CONS: * Lots of Refactoring Possibly (But alot of stuff has been refactored recently anyway)
Attachments
Alexey Proskuryakov
Comment 1 2006-12-06 09:18:12 PST
This was implemented, see ResourceRequest.h
Note You need to log in before you can comment on or make changes to this bug.