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 ?
About Question enthuware.ocejws.v6.2.186 :
Moderators: Site Manager, fjwalraven
-
- Posts: 25
- Joined: Wed Jun 24, 2015 7:26 am
- Contact:
-
- Posts: 429
- Joined: Tue Jul 24, 2012 2:43 am
- Contact:
Re: About Question enthuware.ocejws.v6.2.186 :
Yes, correct.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
The relative degree of preference for that media-range.2. What percentage indicates ?
Check http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html for more explanation.
Regards,
Frits
Who is online
Users browsing this forum: No registered users and 2 guests