Behat / WebApiExtension

Behat extension to test web APIs
http://extensions.behat.org
MIT License
109 stars 113 forks source link

Updated WebApiContext.php #25

Open tomazahlin opened 9 years ago

tomazahlin commented 9 years ago

Headers are now sent in the request when sending a request with form data.

tomazahlin commented 9 years ago

I suggest that the methods which make a request include headers as well. Because for example you add headers, then you do a request and the headers are sometimes not automatically sent. Also considering adding an optional argument ($sendheaders = true) to the request methods would make sense. Please tell me what you think