PostValues contains the parsed form data from POST, PATCH, or PUT body parameters
()
| 113 | |
| 114 | // PostValues contains the parsed form data from POST, PATCH, or PUT body parameters |
| 115 | func (req *Request) PostValues() map[string][]string { |
| 116 | req.parseForm() |
| 117 | return map[string][]string(req.PostForm) |
| 118 | } |
| 119 | |
| 120 | func (req *Request) parseForm() error { |
| 121 | if strings.HasPrefix(req.QueryHeader(HeaderContentType), MIMEMultipartForm) { |