MCPcopy Create free account
hub / github.com/SeleniumHQ/selenium / headersToString

Function headersToString

javascript/webdriver/test/http/http_test.js:59–65  ·  view source on GitHub ↗
(headers)

Source from the content-addressed store, hash-verified

57}
58
59function headersToString(headers) {
60 var str = [];
61 for (var key in headers) {
62 str.push(key + ': ' + headers[key]);
63 }
64 return str.join('\n');
65}
66
67function expectRequest(method, path, data, headers) {
68 var description = method + ' ' + path + '\n' + headersToString(headers) +

Callers 1

expectRequestFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected