Drew,
You can checkout the most recent version of the client library via:
svn checkout http://google-gdata.googlecode.com/svn/trunk/
google-gdata
You can update google-gdata/clients/cs/src/gauthrequest.cs line 409 to
do a StartsWith comparison instead of an Equals comparison for the
content type. Rebuild the library and use the updated copy.
--------------------
--- clients/cs/src/core/gauthrequest.cs (revision 63)
+++ clients/cs/src/core/gauthrequest.cs (working copy)
@@ -406,7 +406,7 @@
throw new GDataRequestException("Execution of
authentication request returned unexpected result: " +code,
this.Response);
}
// check the content type, it must be text
- if
(!response.ContentType.Equals(HttpFormPost.ContentType))
+ if
(!response.ContentType.StartsWith(HttpFormPost.ContentType))
{
throw new GDataRequestException("Execution of
authentication request returned unexpected content type: " +
response.ContentType, this.Response);
}
--------
The updated source code should be checked into SVN in the next couple
hours, but we're still exploring if there are other ways we can solve
this issue.
Thanks for your patience.
Apologies,
-Ryan
On Dec 15, 9:52 am, "Andrew Calleja" <[EMAIL PROTECTED]> wrote:
> Hi Ryan,
>
> Thanks for the prompt reply but its kind of strange cause this was
> working fine since when I started working on the client!
>
> Is there anything I can do from my side to solve this problem? I guess
> two solutions would be to either switch to Java or build the requests
> myself...
>
> Can you provide and help with the both options?
> And do you have any indication if the solution you guys will provide is
> going to take a long time?
>
> I know it sounds a bit urgent but we (me and my fellow students using
> the .NET API for this assignment) have a deadline on this assignment
> and changing our program now is hard considering the time constraints.
>
> Thanks again!
>
> -Drew
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Calendar Data API" group.
To post to this group, send email to
[email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/google-calendar-help-dataapi?hl=en
-~----------~----~----~----~------~----~------~--~---