About Question enthuware.ocejws.v6.2.186 :

Moderators: Site Manager, fjwalraven

Post Reply
fabiolino
Posts: 25
Joined: Wed Jun 24, 2015 7:26 am
Contact:

About Question enthuware.ocejws.v6.2.186 :

Post by fabiolino »

You said
A browser will return "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8" which is read as: 1) I prefer text/html and application/xhtml+xml (q=100% or q=1.0 in this case)

1. q=1.0 is default when not mentioned ?
It is equivalent to text/html,application/xhtml+xml;q=1.0,application/xml;q=0.9,*/*;q=0.8

2. What percentage indicates ?

fjwalraven
Posts: 429
Joined: Tue Jul 24, 2012 2:43 am
Contact:

Re: About Question enthuware.ocejws.v6.2.186 :

Post by fjwalraven »

1. q=1.0 is default when not mentioned ?
It is equivalent to text/html,application/xhtml+xml;q=1.0,application/xml;q=0.9,*/*;q=0.8
Yes, correct.
2. What percentage indicates ?
The relative degree of preference for that media-range.
Check http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html for more explanation.

Regards,
Frits

Post Reply

Who is online

Users browsing this forum: No registered users and 22 guests