{ "info": { "author": "TrustCentric", "author_email": "admin@trustcentric.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Environment :: Web Environment", "Framework :: Django", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python" ], "description": "django-hstsmiddleware\n=====================\n\nForces the use of `HTTPS` using `HTTP Strict Transport Security`\n(HSTS).\n\n\nInstallation and Usage\n----------------------\n\nInstall the package, add ``django_hstsmiddleware`` to\n``settings.INSTALLED_APPS``, and add\n``django_hstsmiddleware.middleware.HSTSMiddleware`` to the top of\n``settings.MIDDLEWARE_CLASSES``.\n\nThe following Django settings control its default behaviour:\n\n``settings.HSTS_REDIRECT_TO``:\n Specifies the URI to redirect a User Agent to, if it tries\n to use a non-secure connection. Responds with HTTP Moved\n Permanently.\n\n Defaults to ``None``, so no redirect occurs. Instead, responds\n with HTTP Bad Request.\n\n``settings.HSTS_MAX_AGE``:\n The maximum number of seconds that a User Agent will remember\n that this server must be contacted over HTTPS.\n\n Defaults to ``31536000``, or approximately one year.\n\n``settings.HSTS_INCLUDE_SUBDOMAINS``:\n If true, tells a User Agent that all subdomains must also be\n contacted over HTTPS, in addition to the current domain.\n\n Defaults to ``False``", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://bitbucket.org/trustcentric/django-hstsmiddleware/", "keywords": null, "license": "UNKNOWN", "maintainer": null, "maintainer_email": null, "name": "django-hstsmiddleware", "package_url": "https://pypi.org/project/django-hstsmiddleware/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/django-hstsmiddleware/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://bitbucket.org/trustcentric/django-hstsmiddleware/" }, "release_url": "https://pypi.org/project/django-hstsmiddleware/1.0/", "requires_dist": null, "requires_python": null, "summary": "Implement HSTS to force the use of HTTPS.", "version": "1.0" }, "last_serial": 703174, "releases": { "1.0": [ { "comment_text": "", "digests": { "md5": "78d2a53d0659738c5ed46ef7687183cb", "sha256": "e3c03c8d58909c2abc9059ca19a1451fd9fa659e39d14697abe5c9a4b0f7509a" }, "downloads": -1, "filename": "django-hstsmiddleware-1.0.tar.gz", "has_sig": false, "md5_digest": "78d2a53d0659738c5ed46ef7687183cb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5150, "upload_time": "2011-07-15T20:25:19", "url": "https://files.pythonhosted.org/packages/4b/62/ac6c7d239c4955bc2e733dd592ae7775a43702d7fd47a2618b6e56b9b591/django-hstsmiddleware-1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "78d2a53d0659738c5ed46ef7687183cb", "sha256": "e3c03c8d58909c2abc9059ca19a1451fd9fa659e39d14697abe5c9a4b0f7509a" }, "downloads": -1, "filename": "django-hstsmiddleware-1.0.tar.gz", "has_sig": false, "md5_digest": "78d2a53d0659738c5ed46ef7687183cb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5150, "upload_time": "2011-07-15T20:25:19", "url": "https://files.pythonhosted.org/packages/4b/62/ac6c7d239c4955bc2e733dd592ae7775a43702d7fd47a2618b6e56b9b591/django-hstsmiddleware-1.0.tar.gz" } ] }