How to fetch a url while building a request in python AppEngine? [duplicate]
问题 This question already has answers here : How I can request a local url in my app engine application? (2 answers) Closed 5 years ago . In order to be able to build a get response when somebody hits /show_data/ url of my service, while I am building it I want to fetch the url /retrieve_data/ from the same service. How can I fire it up in a different thread so I can avoid the DeadLineExceeded errors I am receiving? I am using python 2.7, with threadsafe=true . so I have something like this for