Skip to content

Tags: ingvaldlorentzen/django-health-check

Tags

3.10.2

Improve accept header handling for unknown types (revsys#222)

Add 406 response for if the requested content type is not supported.
Add more tests to verify correct content type negotiation.

3.10.1

Allow more valid accept headers (revsys#221)

* Allow any amount of optional whitespace on either side of the semi-colon for parameters.

* Allow other parameters after the optional q-value.

RFC 2616 says that the q comes first, which spares us needing to fully parse the list here.

The list of characters comes from RFC 7230, section 3.2.6 ('visible US-ASCII characters, except delimiters').

* Allow more valid q-values.

'[\d3]' is the range of digits or the digit 3, so we're only allowing a single decimal digit. RFC 2616 allows for up to three digits but no more after a zero, or up to three zeroes after a one.

The new pattern is cumbersome, but should allow any decimal from 0 to 1 (inclusive), with up to three digits of precision.

3.10.0

Add format GET attribute to override response content type (revsys#216)

* Add `format` GET attribute to override response content type.
  You can now use `?format=json` to override the content type specified
  in the request's `accept` header.
* Add support for weighted `accept` header content type serving.
  Now weights the accept header are respecced. Also support for
  multiple content types has been added.

3.9.0

Adds 'app_name' to urlconf (revsys#211)

3.8.0

Add a NotImplementedError warning to celery health check (revsys#201)

This can be triggered if the result backend isn't set which
unfortunately took a long time for me to sort out because
the error message was so ambiguous.

3.7.1

Fix revsys#199 -- Delete actual filename returned by save method (rev…

…sys#200)

Storage backends will call `get_available_name` before saving a file, which can alter the path on some storage backend implementations.

3.7.0

Add RabbitMQ health check (revsys#197)

3.6.1

Add connection error exception for cache backend (revsys#195)

* Add connection error exception for cache backend

* remove exception catchall

3.6.0

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Add support for warnings that do not error endpoints (revsys#193)

Add a new concept of warnings and non-critical services. Both
will not cause the template and JSON endpoint to response with a
500 status code but with a regular 200. This change is backwards
compatible because the existing warnings are treated as errors by
default.

Close revsys#191

3.5.1

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
Replace f-strings with standard strings, for Python 3.5 compatibility (

…revsys#186)