kre/Kinetic-Rules-Engine — pull request #60 by alexkolson (2013-09-23 19:08:57+00:00)
Title: pass content-type header in xdi raw so that a valid response from an xdi server will be received.

So the XDI server I'm using now requires that the Content-Type header be set to 'application/json+xdi' or it will not process an XDI message. I added the header to the request before it gets sent out. It would be way easier if XDI raw would do this for me rather than having to change all the places where I'm calling xdi:raw(). So I added it to the _raw subroutine. If this was rolled to the production engine it would make me so happy inside.

Thanks,

AKO