[HELP REQUEST]How to access online text file?

I am a complete noob in Python and Plex, but managed to write a plugin and now want to develop it further, but I can't figure out one simple thing: how can I access a text file stored somewhere online, for example dropbox.com?

 

At the moment I have the file in resources folder and access it like that:

    text = Resource.Load('test.txt', binary = True)
    if playlist <> None:
        lines = text.splitlines()
        for line in lines:
            #do stuff

Please help.

text_data = HTTP.Request(url_of_file).content

http://dev.plexapp.com/docs/api/networkkit.html#http

Thank You very much.