Fixed how HTTP methods PUT and DELETE were being sent.