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: | Eric Oulashin |
---|---|
Location: | Beaverton, Oregon, USA |
Users: | 90 |
Nodes: | 16 (0 / 16) |
Uptime: | 00:42:30 |
Calls: | 6,691 |
Calls today: | 8 |
Files: | 8,531 |
D/L today: |
244 files (96,951K bytes) |
Messages: | 362,061 |