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: | 122 |
| Nodes: | 16 (0 / 16) |
| Uptime: | 03:28:06 |
| Calls: | 7,838 |
| Calls today: | 2 |
| Files: | 9,394 |
| D/L today: |
619 files (328M bytes) |
| Messages: | 400,818 |
| Posted today: | 2 |