Search code examples
pythongoogle-app-enginegoogle-cloud-endpoints

How to send custom header in Google endpoints response


I am using google endpoints frameworks but there is one requirement for me to send custom header to requester in the response.

But, in google endpoints all responses are returned as an object of Message class therefore was not able to find anyway to set my headers in the response to the requester.

Please help me with any such approach in which i can add my headers to the response


Solution

  • Found this by googling: How to Add Custom Response Headers to Google Cloud Endpoints