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,018 |
Nodes: | 17 (0 / 17) |
Uptime: | 123:19:08 |
Calls: | 503,090 |
Calls today: | 25 |
Files: | 212,971 |
U/L today: |
1 files (4K bytes) |
D/L today: |
8,045 files (999M bytes) |
Messages: | 440,655 |
Posted today: | 2 |