Django

Code

Ticket #2402 (closed: invalid)

Opened 3 years ago

Last modified 3 years ago

[contrib/patch] Middleware to add a X-Djazzified-By and X-Now-Playing response headers

Reported by: dev@simon.net.nz Assigned to: adrian
Milestone: Component: Contrib apps
Version: Keywords:
Cc: dev@simon.net.nz Triage Stage: Unreviewed
Has patch: 0 Needs documentation: 0
Needs tests: 0 Patch needs improvement: 0

Description

While toying with the middleware, I came up with this to add a simple (and utterly useless) X-Djazzified-By and X-Now-Playing response header to all pages served by Django. Just a subtle way of showing your Django-fanship.

Attachments

middleware.py (1.1 kB) - added by dev@simon.net.nz on 07/23/06 06:36:58.

Change History

07/23/06 06:36:58 changed by dev@simon.net.nz

  • attachment middleware.py added.

07/23/06 09:45:35 changed by jacob

  • status changed from new to closed.
  • resolution set to invalid.

This is funny, but it really doesn't belong in Django propper and hence doesn't belong in this ticket tracker. (Feel free to make a wiki page for it though).


Add/Change #2402 ([contrib/patch] Middleware to add a X-Djazzified-By and X-Now-Playing response headers)




Change Properties
Action