OLD | NEW |
1 /* | 1 /* |
2 Copyright (C) 1998 Lars Knoll (knoll@mpi-hd.mpg.de) | 2 Copyright (C) 1998 Lars Knoll (knoll@mpi-hd.mpg.de) |
3 Copyright (C) 2001 Dirk Mueller (mueller@kde.org) | 3 Copyright (C) 2001 Dirk Mueller (mueller@kde.org) |
4 Copyright (C) 2002 Waldo Bastian (bastian@kde.org) | 4 Copyright (C) 2002 Waldo Bastian (bastian@kde.org) |
5 Copyright (C) 2006 Samuel Weinig (sam.weinig@gmail.com) | 5 Copyright (C) 2006 Samuel Weinig (sam.weinig@gmail.com) |
6 Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All
rights reserved. | 6 Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All
rights reserved. |
7 | 7 |
8 This library is free software; you can redistribute it and/or | 8 This library is free software; you can redistribute it and/or |
9 modify it under the terms of the GNU Library General Public | 9 modify it under the terms of the GNU Library General Public |
10 License as published by the Free Software Foundation; either | 10 License as published by the Free Software Foundation; either |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
53 | 53 |
54 // These response headers are not copied from a revalidated response to the | 54 // These response headers are not copied from a revalidated response to the |
55 // cached response headers. For compatibility, this list is based on Chromium's | 55 // cached response headers. For compatibility, this list is based on Chromium's |
56 // net/http/http_response_headers.cc. | 56 // net/http/http_response_headers.cc. |
57 const char* const headersToIgnoreAfterRevalidation[] = { | 57 const char* const headersToIgnoreAfterRevalidation[] = { |
58 "allow", | 58 "allow", |
59 "connection", | 59 "connection", |
60 "etag", | 60 "etag", |
61 "expires", | 61 "expires", |
62 "keep-alive", | 62 "keep-alive", |
63 "last-modified" | 63 "last-modified", |
64 "proxy-authenticate", | 64 "proxy-authenticate", |
65 "proxy-connection", | 65 "proxy-connection", |
66 "trailer", | 66 "trailer", |
67 "transfer-encoding", | 67 "transfer-encoding", |
68 "upgrade", | 68 "upgrade", |
69 "www-authenticate", | 69 "www-authenticate", |
70 "x-frame-options", | 70 "x-frame-options", |
71 "x-xss-protection", | 71 "x-xss-protection", |
72 }; | 72 }; |
73 | 73 |
(...skipping 1013 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1087 case Resource::Media: | 1087 case Resource::Media: |
1088 return "Media"; | 1088 return "Media"; |
1089 case Resource::Manifest: | 1089 case Resource::Manifest: |
1090 return "Manifest"; | 1090 return "Manifest"; |
1091 } | 1091 } |
1092 ASSERT_NOT_REACHED(); | 1092 ASSERT_NOT_REACHED(); |
1093 return "Unknown"; | 1093 return "Unknown"; |
1094 } | 1094 } |
1095 | 1095 |
1096 } // namespace blink | 1096 } // namespace blink |
OLD | NEW |