Page 1 of 1

About Question enthuware.ocejws.v6.2.186 :

Posted: Fri Jul 03, 2015 7:24 am
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 ?

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

Posted: Fri Jul 03, 2015 9:12 am
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