httptrace
Categories
Component ID
2340519
Component name
httptrace
Component type
module
Maintenance status
Development status
Component security advisory coverage
not-covered
Downloads
345
Component created
Component changed
Component body
Trace all HTTP requests made by Drupal.
This module logs all HTTP requests made using Drupal's drupal_http_request function and logs them to watchdog.
904297 18/Sep 08:53 notice httptrace Array
(
[called by] => MyClass->createOrder
[url] => http://XXX.example.com:8080/PATH/api/ver2/orders.xml?apikey=XXXXXXXX&orderedbyid=596
[options] => Array
(
[method] => POST
)
[result] => stdClass Object
(
[request] => POST /PATH/api/ver2/orders.xml?apikey=XXXXXXX&orderedbyid=596 HTTP/1.0
User-Agent: Drupal (+http://drupal.org/)
Host: XXX.example.com:8080
Content-Length: 0
[data] => XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
[protocol] => HTTP/1.1
[status_message] => OK
[headers] => Array
(
[server] => Apache-Coyote/1.1
[content-type] => application/xml;charset=utf-8
[content-length] => 528
[date] => Thu, 18 Sep 2014 06:53:17 GMT
[connection] => close
)
[code] => 200
)
)
