Lines Matching refs:opt_headers
52 remoting.xhr.get = function(url, onDone, opt_parameters, opt_headers, argument
55 opt_headers, opt_withCredentials);
73 remoting.xhr.post = function(url, onDone, opt_parameters, opt_headers, argument
76 opt_headers, opt_withCredentials);
94 remoting.xhr.remove = function(url, onDone, opt_parameters, opt_headers, argument
97 opt_headers, opt_withCredentials);
115 remoting.xhr.put = function(url, onDone, opt_parameters, opt_headers, argument
118 opt_headers, opt_withCredentials);
138 opt_parameters, opt_headers, argument
168 (typeof opt_headers !== 'object' ||
169 typeof opt_headers['Content-type'] !== 'string')) {
173 if (typeof(opt_headers) === 'object') {
174 for (var key in opt_headers) {
175 xhr.setRequestHeader(key, opt_headers[key]);
177 } else if (opt_headers === undefined) {