Ticket #1005 (closed defect: fixed)
[TiddlyWeb] - Support HEAD for any GET
|Reported by:||cdent||Owned by:||cdent|
At the moment a HEAD request to tiddlyweb will result in a 405, which is not ideal. Things out there in the world do you use head.
One possible solution:
- WSGI app detects REQUEST_METHOD=HEAD, changes it to GET, wraps inner apps
- same app (on the way out), dumps content, but sends headers (keeps the existing start_response)
HEAD (like many things) is controversial in the WSGI world as there's no specific handling of it that works properly in all server setups. Notably Apache can be weird to interact with.