Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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:


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.

share|improve this question
up vote 0 down vote accepted

they are a relative quality parameter

they help specify the client preference as to which mime type they would prefer. this one is saying: I prefer text/html,application/xhtml+xml,application/xml; but I'll take */* (anything) if thats all you have.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.