Hi, guys.According to RFC 2396 2.4.1 section, space character should be escaped to "%20", but current implementation of http package translate to "+". Can anybody explain why?Thanks.
FindStringSubmatch is a method on the type *Regexp, not a function
in the package regexp. The thing before the dot has to be some
value of the *Regexp type.
Chris
--
Chris "allusive" Dollin
No. There are two kinds of escaping that happen in URLs.
In the path part of the URL a space must be escaped as %20.
In the query part (after the ?) a space can be escaped as %20 or +.
The godoc for http.URLEscape makes clear that it is applying
the query escaping form.
Russ