https://golang.org/pkg/net/http/#ServeMux says:

> Host-specific patterns take precedence over general patterns, so that a 
handler might register for the two patterns "/codesearch" and 
"codesearch.google.com/" without also taking over requests for 
"http://www.google.com/";.



   1. "/codesearch" means a path. "codesearch.google.com/" means a host 
   "codesearch.google.com" and the subtree path "/". Does it mean that the 
   latter takes precedence over the former?
   2. Does *without also taking over requests for "http://www.google.com/"* 
   mean that the handler for "codesearch.google.com/" does not take requests 
   for "http://www.google.com/";?

-----------
Jingguo

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/cb402636-0fcc-4ef9-9a5b-142570d25674%40googlegroups.com.

Reply via email to