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

Add HttpEntity.Head for responding to HEAD requests #6163

Closed
wants to merge 1 commit into from

Conversation

gmethvin
Copy link
Member

@gmethvin gmethvin commented May 17, 2016

Fixes #6126

  • Adds a new entity type for handling HEAD requests. This allows a user to send a response without a body but with an explicitly defined content type.
  • Adds warnings for common error cases when trying to respond to HEAD requests explicitly.

I'm not positive this is the right solution to the problem, though. We need to make sure any solution we provide also doesn't break HEAD requests to existing GET actions, though.

@gmethvin gmethvin changed the title Add HttpEntity.Head for sending HEAD requests Add HttpEntity.Head for responding to HEAD requests May 17, 2016
@wsargent
Copy link
Member

@gmethvin think we should probably close this

@gmethvin gmethvin closed this Mar 17, 2017
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