Skip to content

Commit

Permalink
Add :form and :multipart formats
Browse files Browse the repository at this point in the history
  • Loading branch information
cllns committed Jul 25, 2024
1 parent 92295f3 commit 0a32816
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/hanami/action/mime.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ module Mime # rubocop:disable Metrics/ModuleLength
TYPES = {
txt: "text/plain",
html: "text/html",
form: "application/x-www-form-urlencoded",
multipart: "multipart/form-data",
json: "application/json",
manifest: "text/cache-manifest",
atom: "application/atom+xml",
Expand Down

0 comments on commit 0a32816

Please sign in to comment.