Changes:
Move the code responsible for adding HTTP.Method to params
dictionary from sendRequestWithMethod method to createRequest
method.
Reason:
In createRequest method it was possible to pass HTTP.Method using
both method and params parameter. Passing HTTP.Method as a
method parameter should be enough.
Other changes:
Update testDELETERequestCreation test
HTTP.Method
to params dictionary fromsendRequestWithMethod
method tocreateRequest
method.createRequest
method it was possible to passHTTP.Method
using bothmethod
andparams
parameter. PassingHTTP.Method
as amethod
parameter should be enough.testDELETERequestCreation
test