[wp-trac] [WordPress Trac] #9247: Use WordPress HTTP class for
SimplePie requests
WordPress Trac
wp-trac at lists.automattic.com
Sat Feb 28 03:45:53 GMT 2009
#9247: Use WordPress HTTP class for SimplePie requests
--------------------------+-------------------------------------------------
Reporter: DD32 | Owner: anonymous
Type: defect (bug) | Status: new
Priority: normal | Milestone: 2.8
Component: General | Version: 2.8
Severity: normal | Keywords: has-patch needs-testing
--------------------------+-------------------------------------------------
Whilst SimplePie's request class may work in most cases, There will be
times when it wont. The HTTP class also has more functionality than the
SimplePie class.
AFAIK, SimplePie will expand it in the future(rmccue) however, Its right
now i'm concerned about.
The HTTP Class also allows people to disable transports which do not work
for them, Or to set proxies/blacklistings, For that reason alone,
SimplePie should utilise the HTTP Class.
Attached patch converts it, I've done small ammount of testing, There
doesnt appear to be any problems, However, Testing will be needed to
ensure its acting 100% like the SimplePie_File, Mainly with regards to
headers.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/9247>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list