Hi jago,

If I understand correctly, it sounds like you are trying to mirror the
jar file and serve it from your app. I think the easiest way to do
this is to upload the jar file, save it as a blob in the datstore,
then create a request handler which will set the response headers to
the desired values and write out the binary file contents from the
blob.

You might find some helpful hints on creating a blob from an uploaded
file here:
http://code.google.com/appengine/docs/images/usingimages.html#Uploading
and information on setting response headers here:
http://code.google.com/appengine/docs/webapp/redirects.html

You could also make a urlfetch call to get the jar file from XYZ to
store it in the datastore.

Does this sound like it fits what you are trying to do?

Thank you,

Jeff

On Nov 20, 8:07 pm, jago <[EMAIL PROTECTED]> wrote:
> I have a jar-file at another host XYZ. From this host the file is
> returned with a special content- and mime-type in its header.
>
> I want the appengine to make the file available at /remote/test.jar
>
> If a user then callshttp://myapp.appspot.com/remote.test.jarI want
> the jar to be returned identically as if it were coming from my host
> XYZ.
>
> Identical in every way, including the headers!
>
> Can I do this somehow? How?
>
> What would you suggest to use: app.yaml, fetch(), redirect, or
> something else?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
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