-
Notifications
You must be signed in to change notification settings - Fork 214
Description
There's been ongoing discussion about flagging forms that can be successfully submitted using POST directly via cURL or some other means to get some speed gains, and as it's appearing that some forms are broken by their own virtues maybe now's as good a time to approach them as any. I could see utility in adding two fields alongside bioguide, before contact_form:
notes, for listing caveats/comments in unstructured text, and
environments, where the value could be an array of javascript, curl, dom or similar keywords.
The latter would serve to indicate under what circumstances this form is able to work, where the expectation would be that curl forms could get success as a direct request, dom can be used through a non-js html interface such as mechanize, and javascript would work with a phantomjs-like environment. I'm not at all sold on these names, so suggest away.
And since there's a chance this thread could turn to multiple instruction sets per form I'd like to preemptively downvote that idea unless it becomes absolutely necessary; my hope is that the current schema can stay as close to simple manipulation of standard form elements as possible, allowing each type of end-user to interpret however works best for them.
So, thoughts?