}
res = http_response_init("RTSP/1.0", 200, "OK");
- if (strcmp(method, "OPTIONS") && strlen(raop->password)) {
+
+ /* We need authorization for everything else than OPTIONS request */
+ if (strcmp(method, "OPTIONS") != 0 && strlen(raop->password)) {
const char *authorization;
authorization = http_request_get_header(request, "Authorization");