Skip to content

Raising MultipartParseError with error_code on_error()#30

Open
pulkit4tech wants to merge 2 commits into
multipart-0.0.1from
multipart-on-error
Open

Raising MultipartParseError with error_code on_error()#30
pulkit4tech wants to merge 2 commits into
multipart-0.0.1from
multipart-on-error

Conversation

@pulkit4tech

Copy link
Copy Markdown
Owner

@kenichi were you suggesting something like this for on_error. Kindly review /cc : @digitalextremist

@pulkit4tech pulkit4tech self-assigned this Aug 3, 2016
@kenichi

kenichi commented Aug 18, 2016

Copy link
Copy Markdown

actually i was thinking of returning an HTTP 4xx response since a parse error probably means a bad or malformed request, yes? open to suggestions 😺

@pulkit4tech

pulkit4tech commented Aug 18, 2016

Copy link
Copy Markdown
Owner Author

@kenichi I am raising error along with error_code giving developer option to manage it. Are you suggesting that I should directly respond with HTTP 4xx response ? 😃

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants