Lines Matching refs:headers
38 // Discard headers which have meaning in POST (Content-Length, Content-Type,
40 void StripPostSpecificHeaders(HttpRequestHeaders* headers) {
41 // These are headers that may be attached to a POST.
42 headers->RemoveHeader(HttpRequestHeaders::kContentLength);
43 headers->RemoveHeader(HttpRequestHeaders::kContentType);
44 headers->RemoveHeader(HttpRequestHeaders::kOrigin);
228 const HttpRequestHeaders& headers) {
230 extra_request_headers_ = headers;
233 // for request headers are implemented.
261 if (response_info_.headers) {
262 response_info_.headers->GetNormalizedHeader(name, value);
268 void URLRequest::GetAllResponseHeaders(string* headers) {
269 DCHECK(headers);
270 if (response_info_.headers) {
271 response_info_.headers->GetNormalizedHeaders(headers);
273 headers->clear();
283 return response_info_.headers.get();
625 // If being switched from POST to GET, must remove headers that were