Manual:$wgDebugPrintHttpHeaders

Details
Print HTTP headers for every request in the debug information.