Repository navigation
Figure out if using URLFetch if running on AppEngine is necessary #449
Description
Activity
- addedapi: datastoreIssues related to the Datastore API.Issues related to the Datastore API.
on Dec 11, 2015 - addedtype: cleanupAn internal cleanup or hygiene concern.An internal cleanup or hygiene concern.and removedapi: datastoreIssues related to the Datastore API.Issues related to the Datastore API.
on Dec 11, 2015 I think it should be safe to remove it.
I run a quick storage example and requests seem to work fine in AppEngine with
NetHttpTransport. However from here I read:com.google.api.client.javanet.NetHttpTransportis discouraged due to a bug in the App Engine SDK itself in how it parses HTTP headers in the responseIs this a known problem in AE? Or has it been already fixed?
Is this a known problem in AE? Or has it been already fixed?
Yes, we saw that before (and we should have mentioned that in the issue).
This was actually the reason we didn't do anything about it yet.
I am %99.9 confident that this should be fine however I could not trace the source of this comment or anyone that knows more about it. We did test it and it seems to be working fine.garrettjonesgoogle commented
on May 30, 2017 ContributorMore actionsThis has become irrelevant with recent developments. We are not going to ensure google-cloud-java is compatible with Java 7 on App Engine; Java 8 on App Engine doesn't have the same restrictions with network fetching. Java 8 support on App Engine is quite close, and is being tracked in #1918 . Closing out this issue.
- added a commit that references this issue
on Jul 20, 2022 - added a commit that references this issue
on Aug 16, 2022 - added 2 commits that reference this issue
on Sep 15, 2022 - added a commit that references this issue
on Oct 6, 2022 - added 2 commits that reference this issue
on Feb 1, 2023 - added 2 commits that reference this issue
on Dec 22, 2025 - added a commit that references this issue
on Jan 6, 2026 - added a commit that references this issue
on Jan 22, 2026 - added a commit that references this issue
on Mar 30, 2026 - added a commit that references this issue
on Apr 1, 2026 - added 2 commits that reference this issue
on Apr 29, 2026
If we can always use NetHttpTransport, we can remove the logic in
DefaultHttpTransportFactory.create(inServiceOptions) to check if we're running on App Engine.