Weebly / weebly-client-php

A php client for using the Weebly Platform API
Other
9 stars 4 forks source link

Fix HTTP Method not resetting after function call #11

Closed kiastu closed 8 years ago

kiastu commented 8 years ago

Addresses https://github.com/Weebly/weebly-client-php/issues/8

Some previous refactoring for the makeRequest function caused the $curl_handler's options to not be reset on each call. The GET method in particular was relying on the default settings for the $curl_handler to make its request, and this resulted in any GET requests utilising the method of whatever was the previous call.

rchen1992 commented 8 years ago

👍