Re: urls with https and s3:// as parameters

2017-01-19 Thread Vijay Khemlani
Shouldn't the paths be passed as GET or POST arguments instead of part of the URL path? Why would you need the regex then? On 1/19/17, Ramon Ramirez-Linan wrote: > Hi > > I am building a django app which urls take 2 parameters a source and > destination. > The source is either a url for a file ht

urls with https and s3:// as parameters

2017-01-19 Thread Ramon Ramirez-Linan
Hi I am building a django app which urls take 2 parameters a source and destination. The source is either a url for a file http://something.com/file.jpg or an s3 arn s3://bucketname/key.jpg I am having difficulties creating a regex expression that matches that to route it to my view The firs