Escape a URL including any /.
(s)
| 46 | return {'WWW-Authenticate': 'OAuth realm="%s"' % realm} |
| 47 | |
| 48 | def escape(s): |
| 49 | """Escape a URL including any /.""" |
| 50 | return urllib.quote(s, safe='~') |
| 51 | |
| 52 | def _utf8_str(s): |
| 53 | """Convert unicode to utf-8.""" |
no outgoing calls
no test coverage detected