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,050 |
Nodes: | 15 (0 / 15) |
Uptime: | 45:53:24 |
Calls: | 236,050 |
Calls today: | 9 |
Files: | 60,363 |
D/L today: |
15,291 files (2,924M bytes) |
Messages: | 289,538 |
Posted today: | 6 |