Ok thanks.

The "application/xrds+xml" mimetype can't be treated as plain text, so
that's why OpenBD treats it as an object. That's why you had to call
toString() on the value of cfhttp.filecontent.

Here is the test that OpenBD (and OpenBD GAE) uses to decide if the type for
cfhttp.filecontent may be a simple cfString type:

-------
protected static boolean isText( String _contentType ) {
          if ( _contentType.equals("") || _contentType.startsWith( "text" )
|| _contentType.startsWith( "message" )
            || _contentType.equals( "application/octet-stream" ) ||
_contentType.equals( "application/xml" ) ){
              return true;
          }else{
              return false;
          }
      }
-------

So the behavior you were seeing seems correct to me at the moment.
Take care.

Matt



On Tue, Sep 1, 2009 at 4:14 PM, atomi <[email protected]> wrote:

>
> Apologies for not getting back to you Matt. What i wanted to do was
> get openid http://www.yakhnov.info/go/projects/openid/ working on GAE.
> The first issue was the cfhttp.filecontent which had the mimetype
> value of "application/xrds+xml" (i believe) also a java method modPow
> could not be found error occured, so my guess is that this method is
> not implemented in openid and of course the xmlsearch issue as well.
>
> I gave up and finally just used java servlets to authorize and logout
> of openid using http://code.google.com/p/dyuproject/
>
>
> On Sep 1, 11:12 am, Matthew McGinty <[email protected]> wrote:
> > fooey,
> >
> > Regarding your cfhttp.filecontent issue:
> > What is the value of cfhttp.mimetype when this problem occurs?
> >
> > Thanks.
> >
> > Matt
> >
> > On Sat, Aug 29, 2009 at 11:34 AM, Vince Bonfanti <[email protected]
> >wrote:
> >
> >
> >
> >
> >
> > > I've added commons-httpclient.jar for the next nightly build.
> >
> > > Vince
> >
> > > On Fri, Aug 28, 2009 at 4:09 PM, Matthew McGinty<[email protected]>
> > > wrote:
> > > > Sorry about that.
> >
> > > > While OpenBD-GAE does not use the commons http Client to actually
> send
> > > > an http request. It does use some of the commons http API to assemble
> > > > the payload of a request.
> > > > That payload is then handed to the URL Fetch Service to be sent.
> > > > So that is why you needed to add the commons-http-client jar file,
> and
> > > why
> > > > it will also need to be added to the OpenBD-GAE distribution.
> >
>

--~--~---------~--~----~------------~-------~--~----~
Open BlueDragon Public Mailing List
 http://groups.google.com/group/openbd?hl=en
 official site @ http://www.openbluedragon.org/

!! save a network - trim replies before posting !!
-~----------~----~----~----~------~----~------~--~---

Reply via email to