1
0
mirror of https://github.com/golang/go synced 2024-11-27 02:41:23 -07:00
go/src/net
Ian Mckay a893682d83 net/url: add Values.Has
Adds a method within Values for detecting whether a query parameter is set.

Fixes #45100

Change-Id: I6bb49417e8547e11cc7e8d55c5211d24ee436ec1
GitHub-Last-Rev: 0b27cdab90
GitHub-Pull-Request: golang/go#45835
Reviewed-on: https://go-review.googlesource.com/c/go/+/314850
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Trust: Cherry Zhang <cherryyz@google.com>
2021-04-30 16:48:56 +00:00
..
http net/http/fcgi: eliminate race, keep request id until end of stdin 2021-04-16 19:34:33 +00:00
internal/socktest
mail
rpc
smtp
testdata
textproto
url net/url: add Values.Has 2021-04-30 16:48:56 +00:00
addrselect_test.go
addrselect.go
cgo_aix.go
cgo_android.go
cgo_bsd.go
cgo_linux.go
cgo_netbsd.go
cgo_openbsd.go
cgo_resnew.go
cgo_resold.go
cgo_socknew.go
cgo_sockold.go
cgo_solaris.go
cgo_stub.go
cgo_unix_test.go
cgo_unix.go
cgo_windows.go
conf_netcgo.go
conf_test.go
conf.go
conn_test.go
dial_test.go
dial_unix_test.go
dial.go docs: clarify when APIs use context.Background. 2021-03-11 16:37:38 +00:00
dnsclient_test.go
dnsclient_unix_test.go net: make go resolver aware of network parameter 2021-03-23 11:14:58 +00:00
dnsclient_unix.go net: make go resolver aware of network parameter 2021-03-23 11:14:58 +00:00
dnsclient.go all: add internal/itoa package 2021-03-14 17:56:50 +00:00
dnsconfig_unix_test.go
dnsconfig_unix.go
dnsname_test.go
error_plan9_test.go
error_plan9.go
error_posix_test.go
error_posix.go
error_test.go
error_unix_test.go
error_unix.go
error_windows_test.go
error_windows.go
example_test.go
external_test.go
fcntl_libc_test.go net: use syscall.fcntl on libc systems 2021-04-20 02:42:23 +00:00
fcntl_syscall_test.go net: use syscall.fcntl on libc systems 2021-04-20 02:42:23 +00:00
fd_plan9.go
fd_posix.go net: pass MSG_CMSG_CLOEXEC flag in ReadMsgUnix 2021-04-19 21:27:43 +00:00
fd_unix.go
fd_windows.go
file_plan9.go
file_stub.go
file_test.go
file_unix.go
file_windows.go
file.go
hook_plan9.go
hook_unix.go
hook_windows.go
hook.go
hosts_test.go
hosts.go
interface_aix.go
interface_bsd_test.go
interface_bsd.go
interface_bsdvar.go
interface_darwin.go
interface_freebsd.go net: don't check nil err twice in interfaceMessages on freebsd 2021-04-21 20:39:43 +00:00
interface_linux_test.go
interface_linux.go
interface_plan9.go all: add internal/itoa package 2021-03-14 17:56:50 +00:00
interface_solaris.go
interface_stub.go
interface_test.go
interface_unix_test.go
interface_windows.go
interface.go all: add internal/itoa package 2021-03-14 17:56:50 +00:00
ip_test.go net: add IP.IsPrivate 2021-03-22 21:35:40 +00:00
ip.go net: reference the correct RFCs and sections for IP.IsPrivate 2021-04-11 15:56:20 +00:00
iprawsock_plan9.go
iprawsock_posix.go net: pass MSG_CMSG_CLOEXEC flag in ReadMsgUnix 2021-04-19 21:27:43 +00:00
iprawsock_test.go
iprawsock.go
ipsock_plan9_test.go
ipsock_plan9.go net: fix (*ipStackCapabilities).probe godoc 2021-04-12 05:11:59 +00:00
ipsock_posix.go net: fix (*ipStackCapabilities).probe godoc 2021-04-12 05:11:59 +00:00
ipsock_test.go
ipsock.go net: never probe IPv4 map support on DragonFly BSD, OpenBSD 2021-04-12 21:26:59 +00:00
listen_test.go
lookup_fake.go
lookup_plan9.go all: add internal/itoa package 2021-03-14 17:56:50 +00:00
lookup_test.go
lookup_unix.go net: make go resolver aware of network parameter 2021-03-23 11:14:58 +00:00
lookup_windows_test.go
lookup_windows.go
lookup.go docs: clarify when APIs use context.Background. 2021-03-11 16:37:38 +00:00
mac_test.go
mac.go
main_cloexec_test.go
main_conf_test.go
main_noconf_test.go
main_plan9_test.go
main_posix_test.go
main_test.go
main_unix_test.go
main_windows_test.go
mockserver_test.go
net_fake.go net: pass MSG_CMSG_CLOEXEC flag in ReadMsgUnix 2021-04-19 21:27:43 +00:00
net_test.go net: make ErrClosed and ParseError implement net.Error 2021-04-05 19:15:53 +00:00
net_windows_test.go
net.go net: make ErrClosed and ParseError implement net.Error 2021-04-05 19:15:53 +00:00
netgo_unix_test.go net: make go resolver aware of network parameter 2021-03-23 11:14:58 +00:00
nss_test.go
nss.go
packetconn_test.go
parse_test.go
parse.go all: add internal/itoa package 2021-03-14 17:56:50 +00:00
pipe_test.go
pipe.go
platform_test.go
port_test.go
port_unix.go
port.go
protoconn_test.go
rawconn_stub_test.go
rawconn_test.go
rawconn_unix_test.go
rawconn_windows_test.go
rawconn.go
sendfile_linux.go
sendfile_stub.go
sendfile_test.go net: use io.Discard in TestSendfileOnWriteTimeoutExceeded 2021-03-09 10:37:50 +00:00
sendfile_unix_alt.go
sendfile_windows.go
server_test.go
sock_bsd.go
sock_cloexec.go internal/poll, net: fix comments regarding accept and sysSocket 2021-04-20 21:00:32 +00:00
sock_linux_test.go
sock_linux.go
sock_plan9.go
sock_posix.go
sock_stub.go
sock_windows.go
sockaddr_posix.go
sockopt_aix.go
sockopt_bsd.go net: only perform IPv4 map check for AF_INET6 sockets 2021-03-25 19:55:42 +00:00
sockopt_linux.go
sockopt_plan9.go
sockopt_posix.go
sockopt_solaris.go
sockopt_stub.go
sockopt_windows.go
sockoptip_bsdvar.go
sockoptip_linux.go
sockoptip_posix.go
sockoptip_stub.go
sockoptip_windows.go
splice_linux.go
splice_stub.go
splice_test.go
sys_cloexec.go internal/poll, net: fix comments regarding accept and sysSocket 2021-04-20 21:00:32 +00:00
tcpsock_plan9.go
tcpsock_posix.go
tcpsock_test.go
tcpsock_unix_test.go
tcpsock.go all: add internal/itoa package 2021-03-14 17:56:50 +00:00
tcpsockopt_darwin.go
tcpsockopt_dragonfly.go
tcpsockopt_openbsd.go
tcpsockopt_plan9.go all: add internal/itoa package 2021-03-14 17:56:50 +00:00
tcpsockopt_posix.go
tcpsockopt_solaris.go
tcpsockopt_stub.go
tcpsockopt_unix.go
tcpsockopt_windows.go
timeout_test.go
udpsock_plan9_test.go
udpsock_plan9.go net: use mid-stack inlining with ReadFromUDP to avoid an allocation 2021-03-15 19:46:51 +00:00
udpsock_posix.go net: pass MSG_CMSG_CLOEXEC flag in ReadMsgUnix 2021-04-19 21:27:43 +00:00
udpsock_test.go net: fix BenchmarkWriteToReadFromUDP on Windows 2021-03-15 23:47:56 +00:00
udpsock.go net: use mid-stack inlining with ReadFromUDP to avoid an allocation 2021-03-15 19:46:51 +00:00
unixsock_linux_test.go
unixsock_plan9.go
unixsock_posix.go net: pass MSG_CMSG_CLOEXEC in ReadMsgUnix on dragonfly, netbsd and openbsd 2021-04-20 21:00:46 +00:00
unixsock_readmsg_cloexec.go net: pass MSG_CMSG_CLOEXEC in ReadMsgUnix on dragonfly, netbsd and openbsd 2021-04-20 21:00:46 +00:00
unixsock_readmsg_cmsg_cloexec.go net: pass MSG_CMSG_CLOEXEC in ReadMsgUnix on dragonfly, netbsd and openbsd 2021-04-20 21:00:46 +00:00
unixsock_readmsg_other.go net: pass MSG_CMSG_CLOEXEC in ReadMsgUnix on dragonfly, netbsd and openbsd 2021-04-20 21:00:46 +00:00
unixsock_readmsg_test.go net: use syscall.fcntl on libc systems 2021-04-20 02:42:23 +00:00
unixsock_test.go
unixsock_windows_test.go
unixsock.go
write_unix_test.go
writev_test.go
writev_unix.go