Homec4science

Added 'method' field to the HTTP request build step.

Authored by William R. Otte <wotte@dre.vanderbilt.edu> on Mar 13 2014, 23:49.

Description

Added 'method' field to the HTTP request build step.

Summary:
This revision adds a 'method' field to the HTTP request harbormaster build step. This allows the user to specify GET, POST, DELETE, and PUT (limited by the underlying wrapper phabricator uses for HTTP requests). I'm not sure how much sense PUT makes, but oh well.

Existing plans shouldn't break, as if this field is an empty string, we default to POST, which is the old behavior.

Fixes T4604

Test Plan: 1) Verified that the empty string does, in fact, issue a POST request. Changed the method to be GET and observed that the problem described in T4604 is resolved.

Reviewers: #blessed_reviewers, epriestley

Reviewed By: #blessed_reviewers, epriestley

Subscribers: aran, epriestley

Maniphest Tasks: T4604

Differential Revision: https://secure.phabricator.com/D8520

Details

Committed
epriestley <git@epriestley.com>Mar 13 2014, 23:51
Pushed
aubortJan 31 2017, 17:16
Parents
rPHe6118bcbaf7d: Tweak application and maniphest editors to handle policy corner cases better
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPH29436dfe378c: Added 'method' field to the HTTP request build step. (authored by William R. Otte <wotte@dre.vanderbilt.edu>).Mar 13 2014, 23:51