net/http包
- ServeMux when resolving URL, if the URL handlers not end with a /, we need an exact match will call the corresponding handler
- If / and / hello URL corresponding to two processors exist, when we pass
/hello/there
, the call is / processor
- The / hello processor read / hello / above example the call processor / hello / processor
- http.Request
h := r.Header["Accept-Encoding"]
h := r.Header.Get("Accept-Encoding")
- FromValue method will automatically call ParseForm method or ParseMultipartForm
- A value of the first method only by the given key
- You want to get all the values require direct access Form structure