How can I specify the username and password for making Basic-Auth requests with App Engine\'s URLFetch service (in Java)?
It seems I can set HTTP headers:
For those interested in doing this in Python (as I was), the code looks like this:
result = urlfetch.fetch("http://www.example.com/comment", headers={"Authorization": "Basic %s" % base64.b64encode("username:pass")})