Fix ParamParser files memoization (#503)

This commit is contained in:
Anton Maminov 2018-11-05 21:51:22 +02:00 committed by Serdar Dogruyol
parent 8bfc3313e9
commit 6de5e7b929

View file

@ -6,7 +6,7 @@ module Kemal
URL_ENCODED_FORM = "application/x-www-form-urlencoded" URL_ENCODED_FORM = "application/x-www-form-urlencoded"
APPLICATION_JSON = "application/json" APPLICATION_JSON = "application/json"
MULTIPART_FORM = "multipart/form-data" MULTIPART_FORM = "multipart/form-data"
PARTS = %w(url query body json) PARTS = %w(url query body json files)
# :nodoc: # :nodoc:
alias AllParamTypes = Nil | String | Int64 | Float64 | Bool | Hash(String, JSON::Any) | Array(JSON::Any) alias AllParamTypes = Nil | String | Int64 | Float64 | Bool | Hash(String, JSON::Any) | Array(JSON::Any)
getter files getter files