CONNECT Http Method - Azure Function

Jacob, Angileena 1 Reputation point
2021-03-09T13:47:15.587+00:00

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.
5,331 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. sadomovalex 3,631 Reputation points
    2021-03-09T15:22:14.96+00:00

    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.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.