Closed glance- closed 11 years ago
Thanks! Using urljoin() is pretty clever. Unfortunately now getting the URL via file_metadata (line 584) throws a 404 error. Don't know why. Can you confirm this?
@hbunke minor typo. Now fixed.
Confirmed. Works, at least for local storage. Thanks again!
You can't assume that every url returned from ckan api is relative to the api itself. Now we try to figure out what url is the right one, and urljoin does that like a charm.
Second, we can't send any ckan-specific headers to S3. That can break S3 upload in more ways then i can imagine.
Fixes #19