Hello!
I think I may have found a bug when dealing with HEAD requests to spray-can. The documentation states:
By default, spray-can handles HEAD-requests transparently by dispatching a GET-request to the handler and stripping of the result body. See the spray.can.server.transparent-head-requests setting for how to disable this behavior.
But it doesn't say that the head directives won't be processed as all when the setting is on. I've made an example repository with instructions on how to reproduce what I see as an error or undocumented "feature" here
The steps to reproduce are in the README file in the linked example. Is this the expected behavior? If so, where is it documented?
Hello!
I think I may have found a bug when dealing with HEAD requests to spray-can. The documentation states:
But it doesn't say that the
headdirectives won't be processed as all when the setting ison. I've made an example repository with instructions on how to reproduce what I see as an error or undocumented "feature" hereThe steps to reproduce are in the README file in the linked example. Is this the expected behavior? If so, where is it documented?