developerforce/Force.com-JavaScript-REST-Toolkit — pull request #15 by chexxor (2012-03-19 02:13:04+00:00)
Title: Allow to set header for apexrest function.

I believe it's pretty common to set HTTP headers when using REST. I added a parameter to the apexrest function to pass in a map of header names to head values. What do you think?

Signed-off-by: Alex Berg