• 
      

    Update for PUT payload changes in the test client.

    Review Request #4620 — Created Sept. 21, 2013 and submitted

    Information

    Review Board
    master

    Reviewers

    Update for PUT payload changes in the test client.

    In 1.5, django.test.Client changed the behavior of PUT, OPTIONS, and DELETE. In
    1.4.x and prior, OPTIONS and DELETE behaved like GET (encoded any data in the
    query string), and PUT behaved like POST (encoding data as multipart). These
    are now very generic, and it's up to us to manually encode the data and set the
    content-type for PUT requests if we want it to get to the server.

    Ran unit tests.

    reviewbot
    1. This is a review from Review Bot.
      Tool: PEP8 Style Checker
      Processed Files:
      reviewboard/webapi/tests/base.py
      Ignored Files:

    2. 
        
    reviewbot
    1. This is a review from Review Bot.
      Tool: Pyflakes
      Processed Files:
      reviewboard/webapi/tests/base.py
      Ignored Files:

    2. 
        
    chipx86
    1. Ship It!

    2. 
        
    david
    Review request changed
    Status:
    Completed
    Change Summary:

    Pushed to master (97de1a7).