[wp-trac] [WordPress Trac] #18732: Pass request arguments to the http_api_debug hook

WordPress Trac wp-trac at lists.automattic.com
Tue Sep 27 08:49:58 UTC 2011


#18732: Pass request arguments to the http_api_debug hook
-------------------------+-----------------------
 Reporter:  johnbillion  |       Owner:  dd32
     Type:  enhancement  |      Status:  accepted
 Priority:  normal       |   Milestone:  3.3
Component:  HTTP         |     Version:  3.3
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |
-------------------------+-----------------------

Comment (by johnbillion):

 Replying to [comment:2 dd32]:
 > I'm curious however, What's the use-case for the plugin?
 The plugin logs HTTP request arguments using `http_request_args` and the
 corresponding response using `http_response`. In order to log the
 transport, it uses the `http_api_debug` hook, but this hook doesn't get
 passed the args so it can't be matched up to the request it belongs to.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/18732#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list