67 |
67 |
68 if type_ == "application/x-suggestions+json" and \ |
68 if type_ == "application/x-suggestions+json" and \ |
69 engine.suggestionsUrlTemplate(): |
69 engine.suggestionsUrlTemplate(): |
70 continue |
70 continue |
71 |
71 |
72 if (not type_ or \ |
72 if (not type_ or |
73 type_ == "text/html" or \ |
73 type_ == "text/html" or |
74 type_ == "application/xhtml+xml") and \ |
74 type_ == "application/xhtml+xml") and \ |
75 engine.suggestionsUrlTemplate(): |
75 engine.suggestionsUrlTemplate(): |
76 continue |
76 continue |
77 |
77 |
78 if not url: |
78 if not url: |