Hi , upload photo using multipart/related with metadata is working , but only photo image/jpeg without metadata is not working. It was working well few months back, but it is not working now .I am getting 400 Bad Request with error "Not an image".
working Response (with metadata): * About to connect() to picasaweb.google.com port 80 (#0) * Trying 74.125.71.136... * Local port: 22291 * Connected to picasaweb.google.com (74.125.71.136) port 80 (#0) > POST > /data/feed/api/user/10783866058/albumid/56287121?authkey=Gv1sRgCNewpNawkvbDJA&v=2&v=2&ctz=utc > HTTP/1.1 Host: picasaweb.google.com Accept: */* Authorization: GoogleLogin auth=DQAAAMEAAABh2XMnW5pi5NNO4rv0WJFVOu_gGBwW4JagYYjyEpdSQ60LdxcSOGYRuZt7pR4sQV1lFBrB6rv1AWEwmTKZm6UtikMBrYgMDBGRdIZiAfvpUBXf5M42dpm21ZgYvjK3PEDui1c50tXtp5uIv94ucmICzC1_duwkwIqds_by- C7e43mbNii2mZEst07DMA6-1wmZbWYqraOmO9voo0a GData-Version: 2 Content-Length: 93324 Expect: 100-continue Content-type: multipart/related; boundary=----------------------------92ca5bcf9a8c * Done waiting for 100-continue < HTTP/1.1 201 Created < Expires: Mon, 19 Dec 2011 02:24:16 GMT < Date: Mon, 19 Dec 2011 02:24:16 GMT < Cache-Control: private, max-age=0, must-revalidate, no-transform * Added cookie _rtok="QtLtX7kcnYhA" for domain picasaweb.google.com, path /, expire 28 < Set-Cookie: _rtok=QtLtX7kcnYhA; Path=/; HttpOnly * Added cookie S="photos_html=T4PWSTzuOlYI8NdPg6i71A" for domain google.com, path /, expire 28 < Set-Cookie: S=photos_html=T4PWSTzuOlYI8NdPg6i71A; Domain=.google.com; Path=/; HttpOnly < Content-Type: application/atom+xml; charset=UTF-8; type=entry < Vary: Accept, X-GData-Authorization, GData-Version < GData-Version: 2.0 < ETag: "YD0qeyI." < Location: http://picasaweb.google.com/data/entry/api/user/10783866058/albumid/56287121/photoid/568765?authkey=Gv1sRgCNewpNawkvbDJA < Content-Location: http://picasaweb.google.com/data/entry/api/user/10783866058/albumid/56287121/photoid/5687659638496?authkey=Gv1sRgCNewpNawkvbDJA < X-Content-Type-Options: nosniff < X-Frame-Options: SAMEORIGIN < X-XSS-Protection: 1; mode=block < Server: GSE < Transfer-Encoding: chunked < * Expire cleared * Closing connection #0 Not working case (without metadata) : * About to connect() to picasaweb.google.com port 80 (#0) * Trying 74.125.71.93... * Local port: 41555 * Connected to picasaweb.google.com (74.125.71.93) port 80 (#0) > POST > /data/feed/api/user/10783866058/albumid/56287121?authkey=Gv1sRgCNewpNawkvbDJA&v=2&v=2&ctz=utc > HTTP/1.1 Host: picasaweb.google.com Accept: */* Authorization: GoogleLogin auth=DQAAAMEAAABh2XMnW5pi5NNO4rv0WJFVOu_gGBwW4JagYYjyEpdSQ60LdxcSOGYRuZt7pR4sQV1lFBrB6rv1AWEwmTKZm6UtikMBrYgMDBGRdIZiAfvpUBXf5M42dpm21ZgYvjK3PEDui1c50tXtp5uIv94ucmICzC1_duwkwIqds_by- C7e43mbNii2mZEst07DMA6-1wmZbWYqraOmO9voo0a GData-Version: 2 Content-Length: 92836 Expect: 100-continue Content-type: image/jpeg; boundary=----------------------------073c46a67c61 * Done waiting for 100-continue < HTTP/1.1 400 Bad Request < Expires: Mon, 19 Dec 2011 04:23:05 GMT < Date: Mon, 19 Dec 2011 04:23:05 GMT < Cache-Control: private, max-age=0, must-revalidate * Added cookie _rtok="nCDw0dcdq1YF" for domain picasaweb.google.com, path /, expire 28 < Set-Cookie: _rtok=nCDw0dcdq1YF; Path=/; HttpOnly * Added cookie S="photos_html=x7GR97wv2K8nTje1-K2aoQ" for domain google.com, path /, expire 28 < Set-Cookie: S=photos_html=x7GR97wv2K8nTje1-K2aoQ; Domain=.google.com; Path=/; HttpOnly < Content-Type: text/html; charset=UTF-8 < X-Content-Type-Options: nosniff < X-Frame-Options: SAMEORIGIN < X-XSS-Protection: 1; mode=block < Server: GSE < Transfer-Encoding: chunked < * Expire cleared * Closing connection #0 Thanking you, Best regards, Ivin -- You received this message because you are subscribed to the Google Groups "Google Picasa Web Albums 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-picasa-data-api?hl=en.
