Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RequestHeader support set no default ContentType #1218

Merged
merged 1 commit into from Feb 16, 2022
Merged

RequestHeader support set no default ContentType #1218

merged 1 commit into from Feb 16, 2022

Conversation

j40951
Copy link
Contributor

@j40951 j40951 commented Feb 16, 2022

#873

In the definition of restful style api, the deletion of resources is generally defined as follows:

delete /students/{student_id}

there is no need to pass in a body, so add a func SetNoDefaultContentType to RequestHeader.

@erikdubbelboer erikdubbelboer merged commit ad8a07a into valyala:master Feb 16, 2022
11 checks passed
@erikdubbelboer
Copy link
Collaborator

erikdubbelboer commented Feb 16, 2022

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants