some clarification on accept field in http request
- by Salvador Dali
Can anyone enlighten me on the following question:
What do different fields in accept field in HTTP request mean? I can understand the basics that through accept the client is telling the server what type of information it is waiting to receive, so for example:
Accept:text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
This way the client will tell the server that it can understand three following formats:
text/html
application/xhtml+xml
application/xml
But can someone tell me what this q values mean and that /
Also if I have any flaws in my understanding - please tell me.