About HTTP requeset
I want to know that Is it fair to create request headers according to our choice and then connecting to any website. Does the web server(web site) responds according to request header send to it ?
For example suppose i want to connect http based url abc.com again, i was visited to that site previously, and i analyzed its response header at that time, during analysis of response header i realized that, its content-language priority is first for UK english, and then for US english. But i want to tell the server that my first priority is US english, through request header. then is it possible after setting request header parameters and then making a connection to that site, the next time when server responds it will show content-language priority first to US english.
In short i want to know that is it possible for web servers(any web sites) to behave accordingly request headers parameters that client will send to them....? or they will behave as they do, mean no effect of request headers on them ?
Can any one have fair idea/suggestion regarding that, if then send me plz...!
It is common courtesy for web servers to respond to specified request headers. However, it is the choice of the person who manages the web server what to implement. Some will give you the content-language you ask for, some won't be able to and some will ignore you. The only way to know is to try it and see.
Requests are exactly that. They will be honored if the server supports honoring them otherwise they won't. By the way, when you first connected, the server told you what its capabilities were.