473,396 Members | 1,779 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Meaning of header: Accept */*

What is the meaning of the user-agent header:
ACCEPT */*
and can I assume that, for the lack of it, I am dealing with a
text-only user agent, such as Lynx or Googlebot?
Many thanks

Pr0f3550r
(Reply on NG only, please)
Jul 23 '05 #1
2 1907
On 25 Nov 2004 10:40:15 -0800, pr***********@yahoo.com (pr0f3550r)
wrote:
What is the meaning of the user-agent header:
ACCEPT */*
It means that the user agent in question will accept anything.
Anything at all. And has no preference as to what it receives. So if
your server has more than one format of a resource at a given URL.
(e.g. if http://www.example.com/image exists as PNG, GIF and BMP
versions) then the server can server out whichever version it prefers.
and can I assume that, for the lack of it, I am dealing with a
text-only user agent, such as Lynx or Googlebot?


No. Why on earth would you think that?

Steve

Jul 23 '05 #2
Steve Pugh <st***@pugh.net> wrote
It means that... [cut]


Thanks

and can I assume that, for the lack of it, I am dealing with a
text-only user agent, such as Lynx or Googlebot?


No. Why on earth would you think that?


Just guessing. So, now I know that I cannot generate alternate content
for text browser discriminating upon ACCEPT headers and I'll have to
find another way. Well, this will be the topic of another post...

Pr0f3550r
Jul 23 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Richard Cornford | last post by:
I am interested in hearing opinions on the semantic meaning of FORM (elements) in HTML. I have to start of apologising because this question arose in a context that is not applicable to the...
0
by: ethan | last post by:
IIS/ASP appears to be adding extra (unwanted) cache-control headers to all requests handled by ASP and ASP.NET. This does not happen for HTM, JS, GIF, etc requests. How can I prevent the addition...
35
by: The Bicycling Guitarist | last post by:
My web site has not been spidered by Googlebot since April 2003. The site in question is at www.TheBicyclingGuitarist.net/ I received much help from this NG and the stylesheets NG when updating the...
60
by: Derrick Coetzee | last post by:
It seems like, in every C source file I've ever seen, there has been a very definite include order, as follows: - include system headers - include application headers - include the header...
9
by: Qiao Jian | last post by:
I am new to c. Today I just read an h file within which there is statements: #ifndef _RANDOM_H #define _RANDOM_H So what is the meaning or purpose of this statement? When should I use such...
2
by: J4CK4L | last post by:
Hi everyone, I've just created a function in a header file that accept a string and parse but the prototipe of the function return me an exception: #include <stdio.h> #include <string.h> int...
31
by: rbhlgjwbvi | last post by:
I have a header whose filename contains an embedded newline and I can't seem to #include it successfully. I've tried #include "my file.h" and #include "my\nfile.h"
43
by: emyl | last post by:
Hi all, here's an elementary question. Assume I have declared two variables, char *a, **b; I can then give a value to a like a="hello world";
0
by: elliott | last post by:
Hello, I'm trying to use a C# IHttpModule to install a Response filter however IIS keeps removing the Content-Encoding header from the response; but all the other headers I set stay intact. ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.