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/url/form_data/parser.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ module URL
module FormData
# Incrementally parses `application/x-www-form-urlencoded` form data.
class Parser
CONTENT_TYPE = "application/x-www-form-urlencoded"
MEDIA_TYPE = "application/x-www-form-urlencoded"

# The encoded body size limit.
SIZE_LIMIT = 2 * 1024 * 1024
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::URL::FormData::Parser::CONTENT_TYPE` to `MEDIA_TYPE`.

## v0.9.0

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