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: | 103 |
Nodes: | 16 (0 / 16) |
Uptime: | 06:00:52 |
Calls: | 5,869 |
Calls today: | 4 |
Files: | 8,496 |
D/L today: |
1,042 files (976M bytes) |
Messages: | 344,276 |
Posted today: | 1 |