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: | Ragnarok |
---|---|
Location: | Dock Sud, Bs As, Argentina |
Users: | 136 |
Nodes: | 10 (0 / 10) |
Uptime: | 41:25:41 |
Calls: | 15,172 |
Calls today: | 1 |
Files: | 19,859 |
D/L today: |
24 files (4,260K bytes) |
Messages: | 1,692,980 |