Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/protocol/multipart/form_data/parser.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ module Multipart
class FormData
# A configurable parser for `multipart/form-data` bodies.
class Parser
CONTENT_TYPE = "multipart/form-data"
MEDIA_TYPE = "multipart/form-data"

# Initialize the form data parser.
# @parameter field_size_limit [Integer | Nil] The buffered field size limit.
Expand Down
4 changes: 4 additions & 0 deletions releases.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Releases

## Unreleased

- Rename `Protocol::Multipart::FormData::Parser::CONTENT_TYPE` to `MEDIA_TYPE`.

## v0.5.0

- Add `Protocol::Multipart::LimitError` for configured processing limits.
Expand Down
Loading