def quote_plus(s, safe = ''):
    if ' ' in s:
        s = quote(s, safe + ' ')
        return s.replace(' ', '+')
    return quote(s, safe)
Quote the query fragment of a URL; replacing ' ' with '+'
dataset/ETHPy150Open ofermend/medicare-demo/socialite/jython/Lib/urllib.py/quote_plus