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

Append Server Header on Response #179

Closed
scottoffen opened this issue Jun 27, 2017 · 0 comments
Closed

Append Server Header on Response #179

scottoffen opened this issue Jun 27, 2017 · 0 comments
Assignees
Milestone

Comments

@scottoffen
Copy link
Owner

Append the Grapevine version to the outgoing Server header.

var assembly = AppDomain.CurrentDomain.GetAssemblies().SingleOrDefault(a => a.GetName().Name == "Grapevine");
context.Response.Headers["Server"] = $"{assembly.GetName().Name}/{assembly.GetName().Version}";
@scottoffen scottoffen added this to the Tanto milestone Jun 27, 2017
@scottoffen scottoffen self-assigned this Jun 27, 2017
scottoffen pushed a commit that referenced this issue Aug 21, 2017
@scottoffen scottoffen modified the milestones: 4.1.1.0, Tanto Aug 21, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant