Friendships/update: "device" and "retweets" parameter don't take effect


#1

as mentioned in the subject, “device” and “retweets” parameter don’t take effect.

Here’s the debug output:

[Sat Dec 22 23:45:28 JST 2012]Request:
[Sat Dec 22 23:45:28 JST 2012]POST http://api.twitter.com/1.1/friendships/update.json
[Sat Dec 22 23:45:28 JST 2012]OAuth base string: POST&http%3A%2F%2Fapi.twitter.com%2F1.1%2Ffriendships%2Fupdate.json&device%3Dfalse%26include_entities%3D1%26include_rts%3D1%26oauth_consumer_key%3DUSLG8ce1GgCOTzmxODYyg%26oauth_nonce%3D2335778165%26oauth_signature_method%3DHMAC-SHA1%26oauth_timestamp%3D1356187528%26oauth_token%3D6358482-L0JOLVAVMdRt4yiskzTwWW1YfUp4tR7yNjiSFLk%26oauth_version%3D1.0%26retweets%3Dfalse%26user_id%3D42419133
[Sat Dec 22 23:45:28 JST 2012]OAuth signature: YLrOrq4GzJUnYXH92+0AHG/P0zk=
[Sat Dec 22 23:45:28 JST 2012]Authorization: ********************************************************************************************************************************************************************************************************************************************************************************
[Sat Dec 22 23:45:28 JST 2012]X-Twitter-Client-URL: http://twitter4j.org/en/twitter4j-3.0.3-SNAPSHOT.xml
[Sat Dec 22 23:45:28 JST 2012]X-Twitter-Client: Twitter4J
[Sat Dec 22 23:45:28 JST 2012]Accept-Encoding: gzip
[Sat Dec 22 23:45:28 JST 2012]User-Agent: twitter4j http://twitter4j.org/ /3.0.3-SNAPSHOT
[Sat Dec 22 23:45:28 JST 2012]X-Twitter-Client-Version: 3.0.3-SNAPSHOT
[Sat Dec 22 23:45:28 JST 2012]Post Params: user_id=42419133&device=false&retweets=false&include_entities=1&include_rts=1
[Sat Dec 22 23:45:29 JST 2012]Response:
[Sat Dec 22 23:45:29 JST 2012]HTTP/1.1 200 OK
[Sat Dec 22 23:45:29 JST 2012]X-Runtime: 0.05892
[Sat Dec 22 23:45:29 JST 2012]ETag: “77508ec0cd64f863e09b370f18d60390”
[Sat Dec 22 23:45:29 JST 2012]Content-Length: 203
[Sat Dec 22 23:45:29 JST 2012]X-Transaction: 6b9189f6b641ff53
[Sat Dec 22 23:45:29 JST 2012]Expires: Tue, 31 Mar 1981 05:00:00 GMT
[Sat Dec 22 23:45:29 JST 2012]X-MID: 8afcde01bdb4d6608d65e7fbe2ccce1d2d397275
[Sat Dec 22 23:45:29 JST 2012]Last-Modified: Sat, 22 Dec 2012 14:45:28 GMT
[Sat Dec 22 23:45:29 JST 2012]X-Access-Level: read-write
[Sat Dec 22 23:45:29 JST 2012]Set-Cookie: _twitter_sess=BAh7CSIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNo%250ASGFzaHsABjoKQHVzZWR7ADoPY3JlYXRlZF9hdGwrCLBsE8M7AToHaWQiJTUw%250AYWI5MmMzMGMxMTQ0ZGExODFlMzU4MWQyYjAxMDQwOgxjc3JmX2lkIiVhOWYx%250AN2E2ZTQxYTY2OGRkNWI2M2FhNTYxNGU2ODkxNw%253D%253D–f4f380e4db451188e4ff4f3187e4d91948b5a472; domain=.twitter.com; path=/; HttpOnly
[Sat Dec 22 23:45:29 JST 2012]Set-Cookie: twid=u%3D6358482%7C6bJmBfyN1xaRjiJFFi2rb04s0hU%3D; domain=.twitter.com; path=/; secure
[Sat Dec 22 23:45:29 JST 2012]Set-Cookie: lang=en; path=/
[Sat Dec 22 23:45:29 JST 2012]Set-Cookie: lang=en; path=/
[Sat Dec 22 23:45:29 JST 2012]Set-Cookie: lang=en; path=/
[Sat Dec 22 23:45:29 JST 2012]Set-Cookie: dnt=; domain=.twitter.com; path=/; expires=Thu, 01-Jan-1970 00:00:00 GMT
[Sat Dec 22 23:45:29 JST 2012]Set-Cookie: guest_id=v1%3A135618752835593068; domain=.twitter.com; path=/; expires=Tue, 23-Dec-2014 02:45:28 GMT
[Sat Dec 22 23:45:29 JST 2012]Set-Cookie: k=10.36.114.126.1356187528351204; path=/; expires=Sat, 29-Dec-12 14:45:28 GMT; domain=.twitter.com
[Sat Dec 22 23:45:29 JST 2012]Server: tfe
[Sat Dec 22 23:45:29 JST 2012]Cache-Control: no-cache, no-store, must-revalidate, pre-check=0, post-check=0
[Sat Dec 22 23:45:29 JST 2012]Pragma: no-cache
[Sat Dec 22 23:45:29 JST 2012]X-Frame-Options: SAMEORIGIN
[Sat Dec 22 23:45:29 JST 2012]Status: 200 OK
[Sat Dec 22 23:45:29 JST 2012]Vary: Accept-Encoding
[Sat Dec 22 23:45:29 JST 2012]Date: Sat, 22 Dec 2012 14:45:28 GMT
[Sat Dec 22 23:45:29 JST 2012]Content-Encoding: gzip
[Sat Dec 22 23:45:29 JST 2012]Content-Type: application/json; charset=utf-8
[Sat Dec 22 23:45:29 JST 2012]X-Transaction-Mask: a6183ffa5f8ca943ff1b53b5644ef1144ce4de39
[Sat Dec 22 23:45:29 JST 2012]{“relationship”:{“source”:{“id”:6358482,“blocking”:false,“notifications_enabled”:true,“following”:true,“followed_by”:true,“screen_name”:“twit4j”,“id_str”:“6358482”,“marked_spam”:false,“can_dm”:true,“all_replies”:false,“want_retweets”:true},“target”:{“id”:42419133,“following”:true,“followed_by”:true,“screen_name”:“twit4jprotected”,“id_str”:“42419133”}}}