This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description
SwampDragon fileupload
======================

File upload handler for SwampDragon


# Installation
```pip install swampdragon-fileupload```

Add ```swampdragon_upload``` to ```INSTALLED_APPS```


# Usage

Create a router and extend ```FileUploadHandler```

class FileUpload(FileUploadHandler):
route_name = '_sdfileupload'


In the above example, the route is set to _sdfileupload.

File post requests should be done to ```window.swampDragon.url + '/_sdfileupload/'```

The data returned by the post request will fit the file deserializer.

To enable Origin header check, set ```origin_check = True```

class FileUpload(FileUploadHandler):
route_name = '_sdfileupload'
origin_check = True


# Notes

If you are using NGINX and have ```origin_check = True``` you need to set ```proxy_set_header Host $http_host;```
in your NGINX config:


server {
...
location / {
...
proxy_set_header Host $http_host;
}
}
Release History

Release History

0.1.2

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.1.1

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.1.0

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
SwampDragon-fileupload-0.1.2.tar.gz (2.9 kB) Copy SHA256 Checksum SHA256 Source Aug 24, 2014
SwampDragon-fileupload-0.1.2.zip (6.6 kB) Copy SHA256 Checksum SHA256 Source Aug 24, 2014

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting