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,024 |
Nodes: | 17 (0 / 17) |
Uptime: | 19:45:43 |
Calls: | 503,231 |
Calls today: | 9 |
Files: | 234,353 |
D/L today: |
1,227 files (135M bytes) |
Messages: | 440,674 |
Posted today: | 1 |