Does http.js allow for customization of the headers sent in a request?
Absolutely, you need to create the request, modify it, then send it like
so:
req = new HTTPRequest();
req.SetupGet("http://example.com");
req.request_headers.push("X-Magic: More magic");
Sysop: | digital man |
---|---|
Location: | Riverside County, California |
Users: | 1,063 |
Nodes: | 17 (0 / 17) |
Uptime: | 35:11:00 |
Calls: | 501,357 |
Calls today: | 2 |
Files: | 109,427 |
D/L today: |
2,744 files (291M bytes) |
Messages: | 302,469 |