Here are the examples of the python api django.utils.six.moves.urllib.urlparse.unquote taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

1 Examples 7

Example 1

Project: django-rest-framework
Source File:
View license
    def get_encoded_filename(self, filename_parm):
        Handle encoded filenames per RFC6266. See also:
        encoded_filename = force_text(filename_parm['filename*'])
            charset, lang, filename = encoded_filename.split('\'', 2)
            filename = urlparse.unquote(filename)
        except (ValueError, LookupError):
            filename = force_text(filename_parm['filename'])
        return filename