Skip to content

Implement IntoResponse for Form - #1095

Merged
davidpdrsn merged 3 commits into
mainfrom
form-response
Jun 17, 2022
Merged

Implement IntoResponse for Form#1095
davidpdrsn merged 3 commits into
mainfrom
form-response

Conversation

@davidpdrsn

Copy link
Copy Markdown
Member

I figure this makes sense to support though not the most useful thing ever.

Required moving the form module to the root and re-exporting Form from both extract and response.

@davidpdrsn
davidpdrsn requested a review from jplatte June 15, 2022 21:14
@davidpdrsn
davidpdrsn enabled auto-merge (squash) June 15, 2022 21:14
@jplatte

jplatte commented Jun 16, 2022

Copy link
Copy Markdown
Contributor

So, what's the use case? 😄

@davidpdrsn

Copy link
Copy Markdown
Member Author

Well someone might wanna return url encoded data. Actix-web's Form also supports it.. I don't think it hurts to support 🤷

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants