Azure / azure-functions-docker-python-sample

A sample of using docker to deploy a Python based app
MIT License
54 stars 38 forks source link

HttpTrigger Local Function Returns 406 in the Browser #15

Closed aluong closed 6 years ago

aluong commented 6 years ago

I cloned and the example which targets base image: microsoft/azure-functions-python3.6:v2.0.11737-alpha

When I go to

http://localhost:8080/api/HttpTrigger?name=hi

I see an Http Error 406. In the docker logs I see that the HttpTrigger was hit.

info: Function.HttpTrigger[0]
      => System.Collections.Generic.Dictionary`2[System.String,System.Object] => System.Collections.Generic.Dictionary`2[System.String,System.Object]
      Executing 'Functions.HttpTrigger' (Reason='This function was programmatically called via the host APIs.', Id=f7d69d25-233a-41da-a569-95a2bdaa9ca1)
asavaritayal commented 6 years ago

This issue was moved to Azure/azure-functions-docker#12