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: | 107 |
| Nodes: | 16 (1 / 15) |
| Uptime: | 03:39:08 |
| Calls: | 9,042 |
| Calls today: | 6 |
| Files: | 9,553 |
| D/L today: |
498 files (2,292M bytes) |
| Messages: | 426,027 |