Home | History | Annotate | Download | only in dump_cache

Lines Matching refs:headers

116 // in the set of headers, they are combined into a single line like so:
119 // DANGER: For some headers (e.g., "Set-Cookie"), the normalized form can be
121 // Set-Cookie headers that contain unquoted commas (usually as part of the
123 // not expect to be able to re-parse Set-Cookie headers from this output.
131 output->assign(info.headers->GetStatusLine());
134 // Enumerate the headers
137 while (info.headers->EnumerateHeaderLines(&iter, &name, &value)) {
144 // Mark the end of headers
154 std::string headers;
157 if (index == 0) { // Stream 0 is the headers.
168 // Remove the size headers.
169 response_info.headers->RemoveHeader("transfer-encoding");
170 response_info.headers->RemoveHeader("content-length");
171 response_info.headers->RemoveHeader("x-original-url");
173 // Convert the headers into a string ending with LF.
174 GetNormalizedHeaders(response_info, &headers);
186 headers.replace(headers.length() - 2, 0, x_original_url);
188 data = headers.c_str();
189 len = headers.size();