Skip to main content

HTTP Behavior for the Zope Publisher

Project description

This package implements the simplest HTTP behavior within the Zope Publisher. It implements all HTTP verbs as views and defines the necessary HTTP exceptions.

CHANGES

5.0 (2023-02-07)

  • Drop support for Python 2.7, 3.3, 3.4, 3.5, 3.6.

  • Add support for Python 3.7, 3.8 and 3.9.

4.0.1 (2017-05-16)

  • The PUT views return an empty byte string instead of an empty native string. On Python 3, the unicode native string leads to a TypeError in zope.publisher.http.

4.0.0 (2016-08-08)

  • Added support for Python 3.3 up to 3.6.

  • Added support for PyPy2.

3.10.2 (2011-08-09)

  • Fixing brown bag release 3.10.1, failing tests.

3.10.1 (2011-08-04)

  • Replaced an undeclared test dependency on zope.app.authentication with zope.password.

  • Replaced the testing dependency on zope.app.zcmlfiles with explicit dependencies of a minimal set of packages.

3.10.0 (2011-01-25)

  • PUT raises 405 MethodNotAllowed when the context cannot be adapted to zope.filerepresentation.interfaces.IWriteFile for existing objects resp. zope.filerepresentation.interfaces.IFileFactory for not existing ones.

3.9.0 (2010-09-17)

  • Replaced a testing dependency on zope.app.securitypolicy with one on zope.securitypolicy.

  • Removed test dependency on zope.app.file by moving the test which needs this package to zope.app.file.

3.8 (2010-04-19)

  • Remove dependency on zope.app.testing by using the zope.app.wsgi.testlayer support instead.

    At the time of this writing the test dependency on zope.app.zcmlfiles cannot be removed however, because there is a dependency on zope.app.file for testing, which pulls in the world.

3.7 (2010-04-13)

  • Remove unnecessary dependency on zope.app.publisher.

  • Fix for an edge case: If someone does a defaultView for the context object and someone comes with a not allowed method, the exception view fails on getAdapters.

3.6.1 (2010-01-08)

  • Replaced the dependency on zope.deprecation with BBB imports

  • Made the dependency on zope.app.publisher explicit

  • Fix tests using a newer zope.publisher that requires zope.login.

3.6.0 (2009-05-23)

  • Moved IHTTPException, IMethodNotAllowed, and MethodNotAllowed from zope.app.http to zope.publisher.interfaces.http, fixing dependency cycles involving zope.app.http.

3.5.2 (2009-04-01)

  • Replaced deprecated zope:defaultView directive with browser:defaultView.

3.5.1 (2009-03-12)

  • If the ‘CONTENT_LENGTH’ header is provided, provide this length as argument to the read method of the input stream object.

3.5.0 (2009-02-01)

  • Change dependency on zope.app.container to zope.container.

3.4.5 (2010-01-28)

  • Backport r108613 from trunk: Fix for an edge case: If someone does a defaultView for the context object and someone comes with a not allowed method, the exception view fails on getAdapters.

3.4.4 (2009-01-29)

  • Make tests compatible with new zope.traversing release.

3.4.3 (2009-01-27)

  • Added missing depencendy: zope.app.zcmlfiles.

3.4.2 (2009-01-26)

  • Add a couple of tests to the OPTIONS verb.

  • Substitute zope.app.zapi by direct calls to its wrapped APIs and get rid of zope.app.zapi as a dependency. See bug #LP219302.

3.4.1 (2007-10-31)

  • Resolved ZopeSecurityPolicy deprecation warning.

3.4.0 (2007-10-24)

  • Initial release independent of the main Zope tree.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

zope.app.http-5.0.tar.gz (16.9 kB view details)

Uploaded Source

Built Distribution

zope.app.http-5.0-py3-none-any.whl (24.5 kB view details)

Uploaded Python 3

File details

Details for the file zope.app.http-5.0.tar.gz.

File metadata

  • Download URL: zope.app.http-5.0.tar.gz
  • Upload date:
  • Size: 16.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for zope.app.http-5.0.tar.gz
Algorithm Hash digest
SHA256 c0945791e3abeabe4706f5e02a8bd3c36e2eedba96b9354528a4bd30dc57239a
MD5 ffdd69f515ec6586b66227f60c7bbb1c
BLAKE2b-256 ccf0151dcfd0ceac23d06628413d903023bd96a61bb12b4107c9463aac0f9a45

See more details on using hashes here.

File details

Details for the file zope.app.http-5.0-py3-none-any.whl.

File metadata

  • Download URL: zope.app.http-5.0-py3-none-any.whl
  • Upload date:
  • Size: 24.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for zope.app.http-5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c828d6bc1e62325978068fb5c21e48511b14173dd2c7b1b56d4beba95e8a8eeb
MD5 caf7d6e89eb588c4b7c1d0367ae2c94b
BLAKE2b-256 483c60465cce72e5f88948f086023a7c3f2238ab61fa9b9aca2b89bda7489bb3

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page