Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What does 'Accept: */*' mean under Client section of Request Headers?

Tags:

html

http

fiddler

I was comparing headers of same HTTP Post request for Firefox and Internet Explorer and I see that for IE.

I was wondering:

What does Accept: */* mean under Client section of Request Headers?

like image 622
pencilCake Avatar asked Feb 08 '13 12:02

pencilCake


1 Answers

The accept: header defines the content type the client accepts, or expects to be returned by the server. Depending on the situation this can be text/css, text/html, image/png, .. etc. - just some mime type.

The * character is considered the wildcard. accept: */* simply means that any data of whatever mimetype is accepted and the server may choose what to return to the requesting client.

like image 150
MildlySerious Avatar answered Sep 21 '22 14:09

MildlySerious