Index: net/quic/core/spdy_utils.cc |
diff --git a/net/quic/core/spdy_utils.cc b/net/quic/core/spdy_utils.cc |
index 3eb596f8554c0a50775fa9476b15ea4b202e7c32..222001368ffadb8a9cf05eef4a18c75aefd6d32b 100644 |
--- a/net/quic/core/spdy_utils.cc |
+++ b/net/quic/core/spdy_utils.cc |
@@ -251,7 +251,9 @@ bool SpdyUtils::PopulateHeaderBlockFromUrl(const string url, |
size_t start = pos + 3; |
pos = url.find("/", start); |
if (pos == string::npos) { |
- return false; |
+ (*headers)[":authority"] = url.substr(start); |
+ (*headers)[":path"] = "/"; |
+ return true; |
} |
(*headers)[":authority"] = url.substr(start, pos - start); |
(*headers)[":path"] = url.substr(pos); |