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 two new functions to JSGI response module #371

Closed
botic opened this issue May 2, 2017 · 2 comments · Fixed by #373
Closed

Add two new functions to JSGI response module #371

botic opened this issue May 2, 2017 · 2 comments · Fixed by #373
Milestone

Comments

@botic
Copy link
Member

botic commented May 2, 2017

  • setHeaders() like addHeaders(), but with an overriding behaviour
  • setContentType() to set the mime type of a response

Both will help to keep the API fluent.

@botic botic added this to the 1.2 milestone May 2, 2017
@botic
Copy link
Member Author

botic commented May 12, 2017

@oberhamsi @grob What do you think? Anything else missing from your pov? You worked on a lot of API stuff and there this two functions might help a lot.

@grob
Copy link
Member

grob commented May 13, 2017

both make sense, so 👍

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

Successfully merging a pull request may close this issue.

2 participants