OpenBD Wiki

From OpenBD
Jump to: navigation, search

GoogleAppEngine:URL Fetch

Contents

Using the Google App Engine URL Fetch Service with Open BlueDragon CFML

OpenBD's <cfhttp> implementation for GAE leverages the GAE URL Fetch Service.

Unsupported <cfhttp> tag attributes

The GAE URL Fetch Service imposes some limitations. The following <cfhttp> tag attributes are ignored by the GAE URL Fetch Service:


  • proxyServer
  • proxyPort
  • proxyUser
  • proxyPassword
  • timeout


Additional Limitations of the GAE URL Fetch Service

Some specific limitiations include:

  • 1Mb request/response limit
  • Circular Redirects are not allowed
  • non-stardard ports (except 8080 when running on the GAE Development server) are not allowed
  • The "reason phrase" of the HTTP Response (as in "OK" from "200 OK") is not available
  • The HTTP Version number of the HTTP Response is not available


A complete discussion of the URL Fetch Service and it's limitations can be found here: http://code.google.com/appengine/docs/java/urlfetch/overview.html


Examples

Working examples of the concepts described above may be found within the openbd_google branch of the OpenBD project. Specifically at this path: <module-root>\war\demo\gae\http\


Personal tools