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,049 |
Nodes: | 15 (0 / 15) |
Uptime: | 35:31:31 |
Calls: | 235,761 |
Calls today: | 2 |
Files: | 60,337 |
D/L today: |
61 files (130M bytes) |
Messages: | 287,790 |