>From the log captured by Wireshark. I saw below scenario happened:
1. my client server send a post to google server,
2. and expect a 100 continue request,
3. then google server reply 100 response,
4, then my client send the data left to google server
5, recv 400 response from google. and also found "Invaild Request URI"
indication from google.
The URI I post to is gotten from google feed data. in xml format.
which likes
<link rel='edit' type='application/atom+xml'
href='http://www.google.com/calendar/feeds/gao.brian%
40gmail.com/private/full/05i0u0an1203c0719rbjn95p6o/63323347188'/>
<author>
If the uri is wrong, How to get the right URI for updating a existing
event? thanks.
On 8月21日, 下午2时58分, Kulvinder Singh <[EMAIL PROTECTED]> wrote:
> You need to trap the response from the server when this error is thrown. The
> response is available in GDataRequestException's (wrapper) Response property
> value.
>
>
>
> ----- Original Message ----
> From: gao.brian <[EMAIL PROTECTED]>
> To: Google Calendar Data API <[email protected]>
> Sent: Tuesday, August 21, 2007 12:25:34 PM
> Subject: Bad Request when tring to update an existing event. Can something
> help with this?
>
> All, I have met a issue when I tring to update an existing event on
> google calendar. below is the error recieved from google calendar
> server.
>
> Authorization: GoogleLogin auth=#####
> Content-type: application/atom+xml
> Content-Length: 1598
> Expect: 100-continue
>
> < HTTP/1.1 100 Continue
> < HTTP/1.1 400 Bad Request
> < Content-Type: text/plain; charset=UTF-8
>
> Did somebody meet such issue? How can get this fixed? Thanks in
> advance.
>
> ___________________________________________________________________________
> _________
> Choose the right car based on your needs. Check out Yahoo! Autos new Car
> Finder tool.http://autos.yahoo.com/carfinder/- 隐藏被引用文字 -
>
> - 显示引用的文字 -
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---