Сообщение от w3.org
|
UAs MUST set the Host header appropriately (see open()) and not allow it to be overridden.
|
Сообщение от http://www.w3.org/TR/XMLHttpRequest/
|
The setRequestHeader(header, value) method must run these steps:
1. If the state is not OPENED, throw an "InvalidStateError" exception.
...
5. Terminate these steps if header is a case-insensitive match for one of the following headers:
- Accept-Charset
...
- Host
...
|
Так что только серверсайд.
__________________
29375, 35
Последний раз редактировалось Aetae, 02.04.2014 в 22:45.
|