Hi Aaron,
this is the url:
http://this-is-the-irish-aeneas-bucket.s3.amazonaws.com/XXXASCIINAMEXXX/5/2014-03-10_08%3A37%3A39.274998-d3421964017734f96198c74d853eb2e7?Signature=2hR%2Fy0iXqimJ5e1umXX2xY1FqjU%3D&Expires=1396003040&AWSAccessKeyId=XX
I replaced some byte with X fo
I'd like to try to reproduce this locally. If you can send me the URL
(feel free to mangle the signature parameter for security), that will
help. Alternatively, you might cut the URL into pieces, to see if
it's some specific characters that it's choking on, and then just send
me that bit.
Otherw
Hi and thanks for your help.
I tried
* to print url in the console : OK
* to print HttpResponse(url) in the console: OK
* to return the url witout a template in the browser : wrong
So i am really confused
I am almost sure that:
1) it is not a s3 problem
2) it is not a HttpResponse problem
Is the url a bytestring? A quick check of the code for HttpResponse
shows that that class is expecting a byte string. Perhaps the URL
contains unicode characters that aren't being escaped properly?
Aaron
On 3/27/14, Aaron Cannon wrote:
> Other things I'd probably try to debug this issue would
Other things I'd probably try to debug this issue would be:
* Hard coding the string into the call to HttpResponse,
* printing the variable that contains the URL to the console.
If the URL was still bad after trying the first item, and the second
item printed the expected result, then you could c
Hi Aaron,
the html is "wrong" as well.
Moreover i tried {% autoescape off %} but with no luck :(
Il giorno giovedì 27 marzo 2014 17:24:45 UTC+1, Aaron Cannon ha scritto:
>
> Try clicking view source in your browser when you view it. Perhaps
> the URL needs to be HTML escaped?
>
> Just a gue
Try clicking view source in your browser when you view it. Perhaps
the URL needs to be HTML escaped?
Just a guess.
Aaron
On 3/21/14, Paolo Bertasi wrote:
> Hello,
> I'm trying to setup a mini django app to allow users to download files from
>
> s3. I wrote a simple python function (using boto
7 matches
Mail list logo