I'm getting following in my production logs.
Processing by Foo::FoosController#robots as */*
In normal cases I see html or json or xml in place of */*
.
I wanted to know that what does that */*
means ?
as */*
shows the accept header used by the client for the request. Robots generally sets the accept header to */*
which essentially means "Dear server give my back the response in whatever content type you want according to your preference".
More details here .
an asterisk "*" may be used in place of either the second half of the content-type value, or both halves. This only applies to the Accept: filed, and not to the content-type field of course.
Accept: *.*, q=0.1 Accept: audio/*, q=0.2 Accept: audio/basic q=1
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.