MCPcopy Create free account
hub / github.com/devfeel/dotweb / PostValues

Method PostValues

request.go:115–118  ·  view source on GitHub ↗

PostValues contains the parsed form data from POST, PATCH, or PUT body parameters

()

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

parseFormMethod · 0.95

Tested by

no test coverage detected