FormValue returns the first value by key from a MultipartForm. Search is performed in QueryArgs, PostArgs, MultipartForm and FormFile in this particular order. Defaults to the empty string "" if the form value doesn't exist. If a default value is given, it will return that value if the form value do
(key string, defaultValue ...string)
| 64 | // When the request is a multipart form, it is parsed using the application's |
| 65 | // BodyLimit so the configured limit is consistently enforced. |
| 66 | FormValue(key string, defaultValue ...string) string |
| 67 | // Fresh returns true when the response is still “fresh” in the client's cache, |
| 68 | // otherwise false is returned to indicate that the client cache is now stale |
| 69 | // and the full response should be sent. |
no outgoing calls