Skip to content

Fixed #1180 - Router: PUT /{db}/{doc} If-Match header is not supported#1181

Merged
pasin merged 2 commits intomasterfrom
feature/issue_1180_PUT_Doc_IfMatch
Apr 2, 2016
Merged

Fixed #1180 - Router: PUT /{db}/{doc} If-Match header is not supported#1181
pasin merged 2 commits intomasterfrom
feature/issue_1180_PUT_Doc_IfMatch

Conversation

@hideki
Copy link
Copy Markdown

@hideki hideki commented Apr 1, 2016

No description provided.

ifMatch = connection.getRequestProperty("if-match");
return ifMatch;
}

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I have noticed that you started to wrap connection.getRequestProperty() call with normal case and lowercase property name. I have seen a lot of connection.getRequestProperty() in Router.java. Do all connection.getRequestProperty() calls need a wrapper like this? If YES, it is better to have one method to do this instead of one per property.

@hideki
Copy link
Copy Markdown
Author

hideki commented Apr 2, 2016

@pasin,
I applied your suggestions to PR.
Could you please review this again?
Thanks!

@pasin pasin merged commit 0ed3f50 into master Apr 2, 2016
@pasin pasin deleted the feature/issue_1180_PUT_Doc_IfMatch branch April 2, 2016 03:05
@pasin pasin removed the in progress label Apr 2, 2016
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.

2 participants