https://bugzilla.wikimedia.org/show_bug.cgi?id=31072
--- Comment #1 from Brion Vibber <[email protected]> 2011-09-21 19:03:15 UTC --- Most sensible thing may be to just accept a 'headers' key with a map of HTTP headers to set. Thus: $foo = Http::get($url, array( 'followRedirects' => false, 'postData' => array( 'foo' => 'bar', 'baz' => 'quux', ), 'headers' => array( 'User-Agent': 'my special extension', 'Accept': 'application/x-something', ) ); -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
