Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Convert protocol-relative URLs and store scheme
- Loading branch information
1 parent
da4cb57
commit 0fe7010
Showing
4 changed files
with
70 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,26 @@ | |||
HTTP/1.1 200 OK | |||
Server: nginx/1.0.5 | |||
Date: Thu, 29 Dec 2011 23:10:13 GMT | |||
Content-Type: text/html | |||
Content-Length: 15013 | |||
Last-Modified: Fri, 02 Dec 2011 21:00:49 GMT | |||
Connection: keep-alive | |||
Accept-Ranges: bytes | |||
|
|||
<!DOCTYPE html> | |||
<html> | |||
<head> | |||
<meta charset="utf-8" /> | |||
<title>Protocol-relative URLs</title> | |||
</head> | |||
<body> | |||
<p>Internal links</p> | |||
<a href="/">Internal: home page</a> | |||
<a href="/faqs">Internal: FAQs</a> | |||
<a href="//protocol-relative.com/contact">Internal: protocol-relative</a> | |||
|
|||
<p>External links</p> | |||
<a href="http://google.com">External: normal link</a> | |||
<a href="//yahoo.com">External: protocol-relative link</a> | |||
</body> | |||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters