Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(596)

Delta Between Two Patch Sets: src/pkg/net/url/url.go

Issue 160200044: [dev.power64] code review 160200044: build: merge default into dev.power64 (Closed)
Left Patch Set: diff -r be0c14f62257b42485019e9e1db23cf40d2e249f https://code.google.com/p/go Created 10 years, 4 months ago
Right Patch Set: diff -r be0c14f62257b42485019e9e1db23cf40d2e249f https://code.google.com/p/go Created 10 years, 4 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « src/pkg/net/testdata/search-resolv.conf ('k') | src/pkg/net/url/url_test.go » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
(Both sides are equal)
1 // Copyright 2009 The Go Authors. All rights reserved. 1 // Copyright 2009 The Go Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style 2 // Use of this source code is governed by a BSD-style
3 // license that can be found in the LICENSE file. 3 // license that can be found in the LICENSE file.
4 4
5 // Package url parses URLs and implements query escaping. 5 // Package url parses URLs and implements query escaping.
6 // See RFC 3986. 6 // See RFC 3986.
7 package url 7 package url
8 8
9 import ( 9 import (
10 "bytes" 10 "bytes"
(...skipping 681 matching lines...) Expand 10 before | Expand all | Expand 10 after
692 } else { 692 } else {
693 if strings.HasPrefix(result, "//") { 693 if strings.HasPrefix(result, "//") {
694 result = u.Scheme + ":" + result 694 result = u.Scheme + ":" + result
695 } 695 }
696 } 696 }
697 if u.RawQuery != "" { 697 if u.RawQuery != "" {
698 result += "?" + u.RawQuery 698 result += "?" + u.RawQuery
699 } 699 }
700 return result 700 return result
701 } 701 }
LEFTRIGHT

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b