Hi,

The upload parameter is necessary because it's impractical to determine the
set of files to upload based on the static_files directive alone:
static_files can contain substitution parameters from the regular expression
in 'url', and there's no way to tell which strings could be inserted with
those substitution parameters.

-Nick Johnson

On Wed, Jan 19, 2011 at 4:45 PM, pdknsk <[email protected]> wrote:

> In the example below, why is this redundancy necessary? I don't
> understand why it needs to be declared separately.
>
> handlers:
> - url: /(.*\.(?:css|ico|png|txt))
>  static_files: static/\1
>  upload: static/(.*\.(?:css|ico|png|txt))
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<google-appengine%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.
>
>


-- 
Nick Johnson, Developer Programs Engineer, App Engine
Google Ireland Ltd. :: Registered in Dublin, Ireland, Registration Number:
368047

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.

Reply via email to