Score:0

What is OPTIONS * in apache logs?

jp flag

Getting thousands per hour:

   1017 "OPTIONS *

I've tried to find more about this in Apache docs but could not.

Nikita Kipriyanov avatar
za flag
Please provide a complete log entry. Also try to deduce *when* it appears or *in which circumstances*, e.g. what actions lead to appearance of these log entries?
Score:1
bm flag

from mozilla docs,

The HTTP OPTIONS method requests permitted communication options for a given URL or server. A client can specify a URL with this method, or an asterisk (*) to refer to the entire server.

Mostly, OPTIONS method is used to check whether to allow or not (CORS) browser can access to the API URL. In most browsers, if you call with XMLHttpRequest to different hostname will call OPTIONS method (Preflighted requests) first before the real HTTP method unless the CORS is cached. So if you want to reduce OPTIONS call just cache it by using Access-Control-Max-Age header.

other alternative ways:

https://stackoverflow.com/questions/29954037/why-is-an-options-request-sent-and-can-i-disable-it

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.