I am using the python version for Google AppEngine. I want to be able to service and load drops from / to blobstore using the same url. For example, let's say a user can upload an image for himself. A GET request on /user/USERNAME/avatarwill return an image, while a POST request on the same URL will be set.
/user/USERNAME/avatar
AFAIK, this is not possible, since each action requires a different type of handler.
Of course, I could just use two handlers, but this is kludge, and I have OCD when it comes to these things.
This is not possible, and not because of the handler types - these are just convenient subclasses that do some extra work for you, but since the download must be associated with a specific URL created at runtime.
Source: https://habr.com/ru/post/1763224/More articles:Regular expressions match any string between [and] - c #three or more roots in js - javascriptActs like Taggable On: translate tags - ruby-on-railsWPF style trigger problem - wpfCreate a list of colors, blue to red, from 0% to 100% - language-agnosticHiding get variables - jqueryNodejs proxy script, does not work with mod_deflate - javascriptWhy does C # not accept logical operators in the form of words ("and", "or", "not", etc.) with current operators? - c #Varchar for UTF-8? - mysql.htpasswd / .htaccess allows * almost * working with any password - securityAll Articles