You're missing the trailing slash on the URL. That's what's causing the redirect.
Christian -- Christian Hammond - chip...@chipx86.com Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com On Fri, Sep 2, 2011 at 1:14 PM, Stefan <stefan.louis.no...@gmail.com> wrote: > Hi all, > > Very briefly, I'm attempting to change the "target_groups" property of > a review request. However, when attempting to send a PUT request to > change the property, I get a HTTP 301 error (urllib2.HTTPError: HTTP > Error 301: Moved Permanently). Can someone provide insight into how to > update a review request with this info? (Note: if I change the request > type to GET, I do receive the JSON data for the specified review.) > > Code snippet: https://gist.github.com/1189749 > > Thanks! > > -- > Want to help the Review Board project? Donate today at > http://www.reviewboard.org/donate/ > Happy user? Let us know at http://www.reviewboard.org/users/ > -~----------~----~----~----~------~----~------~--~--- > To unsubscribe from this group, send email to > reviewboard+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/reviewboard?hl=en -- Want to help the Review Board project? Donate today at http://www.reviewboard.org/donate/ Happy user? Let us know at http://www.reviewboard.org/users/ -~----------~----~----~----~------~----~------~--~--- To unsubscribe from this group, send email to reviewboard+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/reviewboard?hl=en