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

Lw/response update #67

Merged
merged 5 commits into from
Feb 25, 2016
Merged

Lw/response update #67

merged 5 commits into from
Feb 25, 2016

Conversation

loganwright
Copy link
Member

Some of the changes discussed from slack and some proposed changes

Response Object

  • Publicize Functions
  • Settable headers
  • Customizable Content Type

Route / RouterDriver

  • Route is now standalone object for easier usability by 3rd party router drivers
  • RouterDriver protocol updated to take Route object
  • Original implementation added as convenience for legacy code

General

  • Documentation in affected files

var headers = super.headers
headers["Location"] = self.redirectLocation
return headers
var redirectLocation: String {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this be let or will it be possibly changed elsewhere

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This could be let I think. Should be set in initializer.

tanner0101 added a commit that referenced this pull request Feb 25, 2016
@tanner0101 tanner0101 merged commit 8dc0d28 into master Feb 25, 2016
@tanner0101 tanner0101 deleted the lw/response-update branch February 25, 2016 21:34
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