File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes what does q=0.7 mean in Header? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "what does q=0.7 mean in Header?" Watch "what does q=0.7 mean in Header?" New topic
Author

what does q=0.7 mean in Header?

William Yan
Ranch Hand

Joined: Sep 26, 2006
Posts: 69
Hi ranchers,
I see some headers have values like 'q=0.7' included, what does it mean?
Thank you.


Java is better and better, yet bitter and bitter.
Muhammad Asif
Ranch Hand

Joined: Jul 13, 2001
Posts: 202
If you are studing for Certification this is probably not going to be asked.

If you want to know what exactly it is, assuming you are working with HTTP protocol and asking about HTTP header, you can read the HTTP specification.

http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html

" Note: Use of the "q" parameter name to separate media type
parameters from Accept extension parameters is due to historical
practice. Although this prevents any media type parameter named
"q" from being used with a media range, such an event is believed
to be unlikely given the lack of any "q" parameters in the IANA
media type registry and the rare usage of any media type
parameters in Accept. Future media types are discouraged from
registering any parameter named "q"
"
[ November 23, 2006: Message edited by: Muhammad Asif ]

SCJP, SCBCD, SCWCD 1.4, IBM-OOAD, SCEA, TCP, TCSS, TCIS, ATCP
Niranjan Deshpande
Ranch Hand

Joined: Oct 16, 2005
Posts: 1277
SCJP 80%, SCBCD 91%, SCWCD 1.4 85% ,IBM-OOAD 85%, SCEA-1 91% , TCP, TCSS, TCIS, ATCP

wow, thats a long list
whats that TCP ? could you please tell me something about it ?


SCJP 1.4 - 95% [ My Story ] - SCWCD 1.4 - 91% [ My Story ]
Performance is a compulsion, not a option, if my existence is to be justified.
Muhammad Asif
Ranch Hand

Joined: Jul 13, 2001
Posts: 202
TCP stands for Teradata Certified Professional...
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: what does q=0.7 mean in Header?