Skip to content

Conversation

tseaver
Copy link
Contributor

@tseaver tseaver commented Oct 19, 2015

Uses #1189 as a base.

@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Oct 19, 2015
@dhermes
Copy link
Contributor

dhermes commented Oct 23, 2015

Why remove the # Some systems use a single '*' instead of '*/*'. part?

@dhermes
Copy link
Contributor

dhermes commented Oct 23, 2015

LMK when you've rebased after the merge

@tseaver
Copy link
Contributor Author

tseaver commented Oct 23, 2015

Why remove the # Some systems use a single '' instead of '/*'. part?

Because the calling function already raises an error if the pattern has no slash.

@tseaver
Copy link
Contributor Author

tseaver commented Oct 23, 2015

Rebased after merge of #1186.

@@ -78,9 +78,6 @@ def AcceptableMimeType(accept_patterns, mime_type):

def MimeTypeMatches(pattern, mime_type):
"""Return True iff mime_type is acceptable for pattern."""
# Some systems use a single '*' instead of '*/*'.

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

@dhermes
Copy link
Contributor

dhermes commented Oct 23, 2015

LGTM

I'll wait for the next rebase ping

tseaver added a commit that referenced this pull request Oct 25, 2015
@tseaver tseaver merged commit 1a78ec9 into googleapis:master Oct 25, 2015
@tseaver tseaver deleted the coverage-gcloud__apitools_util branch October 25, 2015 15:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: core cla: yes This human has signed the Contributor License Agreement. testing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants