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: | digital man |
---|---|
Location: | Riverside County, California |
Users: | 1,039 |
Nodes: | 15 (0 / 15) |
Uptime: | 16:47:30 |
Calls: | 236,323 |
Calls today: | 4 |
Files: | 95,025 |
D/L today: |
50 files (70,235K bytes) |
Messages: | 290,121 |