CONNECT Http Method - Azure Function

Jacob, Angileena 1 Reputation point

I have a Azure Function which is enabled only for Http Get Method. I see that Azure returns 404 response for all the other Http request (except for GET) but for some reason it is returning 502 response for CONNECT Http Method. How can I send 404 response for CONNECT Http Method?

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
3,040 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. sadomovalex 3,601 Reputation points

    Azure functions are running under SSL. HTTP CONNECT is used for opening secure tunnel sites with SSL: HTTP tunnel. Not sure that it can be disabled because without it clients won't be able to connect to AF.